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(): ...@@ -359,8 +359,8 @@ def get_version_information():
try: try:
with open(version_file, 'r') as f: with open(version_file, 'r') as f:
return f.readline().rstrip() return f.readline().rstrip()
except: # noqa except IOError:
return "No version information" raise IOError("No version information file '.version' found")
def get_progress_bar(module='tqdm'): 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