diff --git a/bin/revision.py b/bin/revision.py index 51bae5cd9..b6c555562 100755 --- a/bin/revision.py +++ b/bin/revision.py @@ -103,7 +103,7 @@ # get the short hash git_hash = subprocess.check_output(['git', 'rev-parse', '--short', 'HEAD']) - git_hash = str(git_hash[:7]) + git_hash = str(git_hash[:7].decode()) # get the dirty flag dirty = os.system('git diff --quiet')