Skip to content

Commit

Permalink
avoid py3 error in setup.py (#2030)
Browse files Browse the repository at this point in the history
print("GIT SHA: " + GIT_SHA)
TypeError: Can't convert 'NoneType' object to str implicitly
  • Loading branch information
wyndhblb authored and mistercrunch committed Jan 24, 2017
1 parent a3a0708 commit 1b8c3f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def get_git_sha():
s = str(subprocess.check_output(['git', 'rev-parse', 'HEAD']))
return s.strip()
except:
pass
return ""

GIT_SHA = get_git_sha()
version_info = {
Expand Down

0 comments on commit 1b8c3f4

Please sign in to comment.