Commit edb0eb88 authored by Jelte Jansen's avatar Jelte Jansen

few more "config file" -> "configuration file"


git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac294@2694 e5f2f494-b856-4b98-b285-d166d9295462
parent 358acde8
......@@ -89,7 +89,7 @@ class ConfigManagerData:
except IOError as ioe:
raise ConfigManagerDataEmpty("No configuration file found")
except ValueError:
raise ConfigManagerDataReadError("Config file out of date or corrupt, please update or remove " + config.db_filename)
raise ConfigManagerDataReadError("Configuration file out of date or corrupt, please update or remove " + config.db_filename)
finally:
if file:
file.close();
......@@ -115,11 +115,11 @@ class ConfigManagerData:
os.rename(filename, self.db_filename)
except IOError as ioe:
# TODO: log this (level critical)
print("[b10-cfgmgr] Unable to write config file; configuration not stored: " + str(ioe))
print("[b10-cfgmgr] Unable to write configuration file; configuration not stored: " + str(ioe))
# TODO: debug option to keep file?
except OSError as ose:
# TODO: log this (level critical)
print("[b10-cfgmgr] Unable to write config file; configuration not stored: " + str(ose))
print("[b10-cfgmgr] Unable to write configuration file; configuration not stored: " + str(ose))
try:
if filename and os.path.exists(filename):
os.remove(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