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

Add IOError

parent 79d4f28c
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: # noqa
return "No version information"
except IOError:
raise IOError("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