summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/git_sha1_gen.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/git_sha1_gen.py b/bin/git_sha1_gen.py
index e26d3a3f764..97981fbba24 100755
--- a/bin/git_sha1_gen.py
+++ b/bin/git_sha1_gen.py
@@ -12,7 +12,7 @@ try:
'rev-parse',
'--short=10',
'HEAD',
- ], stderr=open(os.devnull, 'w'))
+ ], stderr=open(os.devnull, 'w')).decode("ascii")
except:
# don't print anything if it fails
pass