[svn] commit: r2694 - /branches/trac294/src/lib/python/isc/config/cfgmgr.py
BIND 10 source code commits
bind10-changes at lists.isc.org
Tue Aug 10 20:42:38 UTC 2010
Author: jelte
Date: Tue Aug 10 20:42:38 2010
New Revision: 2694
Log:
few more "config file" -> "configuration file"
Modified:
branches/trac294/src/lib/python/isc/config/cfgmgr.py
Modified: branches/trac294/src/lib/python/isc/config/cfgmgr.py
==============================================================================
--- branches/trac294/src/lib/python/isc/config/cfgmgr.py (original)
+++ branches/trac294/src/lib/python/isc/config/cfgmgr.py Tue Aug 10 20:42:38 2010
@@ -89,7 +89,7 @@
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 @@
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)
More information about the bind10-changes
mailing list