ok other waythen

This commit is contained in:
lady ada 2022-04-08 16:43:15 -04:00
parent ea3dfa444a
commit 1f3dadcbb9

View File

@ -19,10 +19,7 @@ def get_version_info_from_git():
# Note: git describe doesn't work if no tag is available
try:
git_tag = subprocess.check_output(
[tools_describe],
stderr=subprocess.STDOUT,
universal_newlines=True,
shell=True
[tools_describe], stderr=subprocess.STDOUT, universal_newlines=True, shell=True
).strip()
except subprocess.CalledProcessError as er:
if er.returncode == 128: