Autoimage working nicely.

This commit is contained in:
Ian Gulliver
2016-04-01 10:04:24 -07:00
parent 0742efdfa8
commit 9a72c09d92
3 changed files with 16 additions and 6 deletions

View File

@@ -75,9 +75,11 @@ def main():
*args,
stdin=fh_in,
stdout=fh)
os.fchmod(fh.fileno(), 0o644)
os.rename(fh.name, signed_manifest)
except:
os.unlink(fh.name)
raise
if __name__ == '__main__':