VirtualMailManager/Handler.py
branchv0.6.x
changeset 272 446483386914
parent 270 d3389645a91d
child 277 e50ffc0b8468
--- a/VirtualMailManager/Handler.py	Wed Apr 28 05:37:14 2010 +0000
+++ b/VirtualMailManager/Handler.py	Wed Apr 28 09:00:02 2010 +0000
@@ -21,7 +21,7 @@
 from pyPgSQL import PgSQL  # python-pgsql - http://pypgsql.sourceforge.net
 
 import VirtualMailManager.constants.ERROR as ERR
-from VirtualMailManager import ENCODING, set_configuration
+from VirtualMailManager import ENCODING
 from VirtualMailManager.Account import Account
 from VirtualMailManager.Alias import Alias
 from VirtualMailManager.AliasDomain import AliasDomain
@@ -77,7 +77,7 @@
             # will be moved to the new password module and Alias
             #self._scheme = self._Cfg.dget('misc.password_scheme')
             #self._postconf = Postconf(self._Cfg.dget('bin.postconf'))
-        set_configuration(self._Cfg)
+        self._Cfg.install()
 
     def __findCfgFile(self):
         for path in ['/root', '/usr/local/etc', '/etc']: