VirtualMailManager/cli/Config.py
branchv0.6.x
changeset 215 33f727efa7c4
parent 206 da07dd944ad1
child 216 0c8c053b451c
--- a/VirtualMailManager/cli/Config.py	Wed Feb 24 05:48:15 2010 +0000
+++ b/VirtualMailManager/cli/Config.py	Thu Feb 25 17:56:08 2010 +0000
@@ -31,7 +31,7 @@
 [%(current_value)s]: ')
         failures = 0
 
-        w_std(_(u'Using configuration file: %s\n') % self._cfgFileName)
+        w_std(_(u'Using configuration file: %s\n') % self._cfg_filename)
         for s in sections:
             w_std(_(u'* Configuration section: %r') % s)
             for opt, val in self.items(s):
@@ -82,7 +82,7 @@
 
     def __saveChanges(self):
         """Writes changes to the configuration file."""
-        copy2(self._cfgFileName, self._cfgFileName + '.bak')
-        self._cfgFile = open(self._cfgFileName, 'w')
-        self.write(self._cfgFile)
-        self._cfgFile.close()
+        copy2(self._cfg_filename, self._cfg_filename + '.bak')
+        self._cfg_file = open(self._cfg_filename, 'w')
+        self.write(self._cfg_file)
+        self._cfg_file.close()