This commit is contained in:
Hugo Wang 2016-07-27 14:51:36 +08:00
parent 2b4ed2e2f1
commit 358d1c7ede

View file

@ -121,7 +121,7 @@ def dirty_version():
_version = _version.decode('ascii')
try:
_, N, sha = _version.strip().split('-')
except ValueError: # tag name may contains "-"
except ValueError: # tag name may contain "-"
open('xonsh/dev.githash', 'w').close()
print('failed to parse git version', file=sys.stderr)
return False