Skip to content
Snippets Groups Projects
Commit 22c9e6d7 authored by Cristian Lalescu's avatar Cristian Lalescu
Browse files

generic error avoidance for git call

apparently not the best choice I can make, but who cares...
parent d19dd2c7
No related branches found
No related tags found
No related merge requests found
......@@ -42,7 +42,7 @@ date_name = '{0:0>4}{1:0>2}{2:0>2}'.format(now.year, now.month, now.day)
try:
git_revision = subprocess.check_output(['git', 'rev-parse', 'HEAD']).strip()
except CalledProcessError:
except:
git_revision = ''
pickle.dump(
{'install_date' : now,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment