Skip to content
Snippets Groups Projects
Commit 4e3bb176 authored by Matthew David Pitkin's avatar Matthew David Pitkin
Browse files

utils.py: use EnvironmentError

parent eeb68cd7
No related branches found
No related tags found
No related merge requests found
......@@ -359,8 +359,8 @@ def get_version_information():
try:
with open(version_file, 'r') as f:
return f.readline().rstrip()
except IOError:
raise IOError("No version information file '.version' found")
except EnvironmentError:
print("No version information file '.version' found")
def get_progress_bar(module='tqdm'):
......
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