Permalink
Browse files

BUG: setup.py: make git_version() work on Python 3

  • Loading branch information...
1 parent de4de92 commit d1a184c1a112ffbaa553915c043c2b6851e4fc91 @pv pv committed Nov 15, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 setup.py
View
@@ -77,7 +77,7 @@ def _minimal_ext_cmd(cmd):
try:
out = _minimal_ext_cmd(['git', 'rev-parse', 'HEAD'])
- GIT_REVISION = out.strip()
+ GIT_REVISION = out.strip().decode('ascii')
except OSError:
GIT_REVISION = "Unknown"

0 comments on commit d1a184c

Please sign in to comment.