Skip to content

Commit

Permalink
improve error reporting in 'setup.py version'
Browse files Browse the repository at this point in the history
  • Loading branch information
warner committed Jul 21, 2010
1 parent 1ca7c80 commit cd65d82
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 @@ -50,7 +50,7 @@ def update_version_py():
print "unable to run git, leaving pake2/_version.py alone"
return
# we use tags like "python-pake2-0.5", so strip the prefix
assert stdout.startswith("python-pake2-")
assert stdout.startswith("python-pake2-"), stdout
ver = stdout[len("python-pake2-"):].strip()
f = open("pake2/_version.py", "w")
f.write(VERSION_PY % ver)
Expand Down

0 comments on commit cd65d82

Please sign in to comment.