VirtualMailManager/cli/Config.py
branchv0.6.x
changeset 216 0c8c053b451c
parent 215 33f727efa7c4
child 290 e2785e04f92e
--- a/VirtualMailManager/cli/Config.py	Thu Feb 25 17:56:08 2010 +0000
+++ b/VirtualMailManager/cli/Config.py	Fri Feb 26 02:35:25 2010 +0000
@@ -13,7 +13,7 @@
 
 from VirtualMailManager import ENCODING
 from VirtualMailManager.Config import Config, ConfigValueError, LazyConfig
-from VirtualMailManager.Exceptions import VMMConfigException
+from VirtualMailManager.errors import ConfigError
 from VirtualMailManager.cli import w_std
 from VirtualMailManager.constants.ERROR import VMM_TOO_MANY_FAILURES
 
@@ -47,9 +47,9 @@
                             w_std(_(u'Warning: %s') % e)
                             failures += 1
                             if failures > 2:
-                                raise VMMConfigException(
+                                raise ConfigError(
                                     _(u'Too many failures - try again later.'),
-                                                         VMM_TOO_MANY_FAILURES)
+                                                  VMM_TOO_MANY_FAILURES)
                     else:
                         break
             print