mirror of
https://github.com/jlu5/PyLink.git
synced 2024-11-01 01:09:22 +01:00
world: fix 0f26848
(we can't use log here)
This commit is contained in:
parent
3c8da4934a
commit
82d129fed2
4
world.py
4
world.py
@ -26,5 +26,5 @@ if version == "<unknown>":
|
||||
# Get version from Git tags.
|
||||
try:
|
||||
version = 'v' + subprocess.check_output(['git', 'describe', '--tags']).decode('utf-8').strip()
|
||||
except:
|
||||
log.exception('Failed to get version from "git describe --tags".')
|
||||
except Exception as e:
|
||||
print('ERROR: Failed to get version from "git describe --tags": %s: %s' % (type(e).__name__, e))
|
||||
|
Loading…
Reference in New Issue
Block a user