mirror of
https://github.com/jordansissel/fpm
synced 2025-04-29 14:58:00 +02:00
Close the file to make Python flush any pending writes. Without this, some versions of python will /not/ write anything to our file which makes it empty and causes a failure in fpm.
This commit is contained in:
parent
df26ed08f7
commit
dcbe0425db
@ -112,3 +112,4 @@ class get_metadata(Command):
|
||||
else:
|
||||
# For Python 2.5 and Debian's python-json
|
||||
output.write(json.write(data))
|
||||
output.close()
|
||||
|
Loading…
Reference in New Issue
Block a user