summaryrefslogtreecommitdiff
path: root/bin/git_sha1_gen.py
diff options
context:
space:
mode:
Diffstat (limited to 'bin/git_sha1_gen.py')
-rwxr-xr-xbin/git_sha1_gen.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/git_sha1_gen.py b/bin/git_sha1_gen.py
index 7b9267b59e..68a87e72ec 100755
--- a/bin/git_sha1_gen.py
+++ b/bin/git_sha1_gen.py
@@ -45,3 +45,5 @@ if git_sha1:
quit()
with open(args.output, 'w') as git_sha1_h:
git_sha1_h.write(new_sha1)
+else:
+ open(args.output, 'w').close()