Commit 2e1dd5c3 authored by Jelte Jansen's avatar Jelte Jansen
Browse files

two more fixes for capital and .py.in move


git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@696 e5f2f494-b856-4b98-b285-d166d9295462
parent 119fd993
......@@ -30,7 +30,7 @@ if __name__ == "__main__":
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:
......
......@@ -21,7 +21,7 @@ class ConfigManagerData:
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:
......
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