mirror of
https://github.com/xonsh/xonsh.git
synced 2025-03-04 00:14:41 +01:00
except everything
This commit is contained in:
parent
ffa6fad3d5
commit
63c26892cd
1 changed files with 2 additions and 2 deletions
4
setup.py
4
setup.py
|
@ -111,9 +111,9 @@ def dirty_version():
|
|||
"""
|
||||
try:
|
||||
_version = subprocess.check_output(['git', 'describe', '--tags'])
|
||||
_version = _version.decode('ascii')
|
||||
except (subprocess.CalledProcessError, FileNotFoundError):
|
||||
except Exception:
|
||||
return False
|
||||
_version = _version.decode('ascii')
|
||||
try:
|
||||
base, N, sha = _version.strip().split('-')
|
||||
except ValueError: #on base release
|
||||
|
|
Loading…
Add table
Reference in a new issue