ok other waythen
This commit is contained in:
parent
ea3dfa444a
commit
1f3dadcbb9
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user