[svn] commit: r696 - in /branches/parkinglot/src/bin/cfgmgr: b10-cfgmgr.py.in cfgmgr.py

BIND 10 source code commits bind10-changes at lists.isc.org
Mon Feb 1 11:09:42 UTC 2010


Author: jelte
Date: Mon Feb  1 11:09:42 2010
New Revision: 696

Log:
two more fixes for capital and .py.in move

Modified:
    branches/parkinglot/src/bin/cfgmgr/b10-cfgmgr.py.in
    branches/parkinglot/src/bin/cfgmgr/cfgmgr.py

Modified: branches/parkinglot/src/bin/cfgmgr/b10-cfgmgr.py.in
==============================================================================
--- branches/parkinglot/src/bin/cfgmgr/b10-cfgmgr.py.in (original)
+++ branches/parkinglot/src/bin/cfgmgr/b10-cfgmgr.py.in Mon Feb  1 11:09:42 2010
@@ -30,7 +30,7 @@
         cm.read_config()
         cm.notify_boss()
         cm.run()
-    except ISC.CC.SessionError as se:
+    except isc.cc.SessionError as se:
         print("[bind-cfgd] Error creating config manager, "
               "is the command channel daemon running?")
     except KeyboardInterrupt as kie:

Modified: branches/parkinglot/src/bin/cfgmgr/cfgmgr.py
==============================================================================
--- branches/parkinglot/src/bin/cfgmgr/cfgmgr.py (original)
+++ branches/parkinglot/src/bin/cfgmgr/cfgmgr.py Mon Feb  1 11:09:42 2010
@@ -21,7 +21,7 @@
     def read_from_file(data_path):
         config = ConfigManagerData(data_path)
         try:
-            file = open(self.db_filename, 'r')
+            file = open(config.db_filename, 'r')
             file_config = ast.literal_eval(file.read())
             if 'version' in file_config and \
                 file_config['version'] == ConfigManagerData.CONFIG_VERSION:




More information about the bind10-changes mailing list