Commit 989f97e5 authored by Jelte Jansen's avatar Jelte Jansen
Browse files

put [b10-cfgmgr] before error message

(removed from the one exception it was in, and moved to where it is actually printed)

git-svn-id: svn:// e5f2f494-b856-4b98-b285-d166d9295462
parent ede5fac5
......@@ -56,7 +56,7 @@ def main():
except KeyboardInterrupt as kie:
print("[b10-cfgmgr] Interrupted, exiting")
except ConfigManagerDataReadError as cmdre:
print("[b10-cfgmgr] " + str(cmdre))
return 2
if cm:
return cm.write_config()
......@@ -78,7 +78,7 @@ class ConfigManagerData: = file_config
# We can put in a migration path here for old data
raise ConfigManagerDataReadError("[b10-cfgmgr] Old version of data found")
raise ConfigManagerDataReadError("Old version of data found")
raise ConfigManagerDataReadError("No version information in configuration file " + config.db_filename)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment