VMM/cli/handler: Don't perform config and environment checks twice. v0.6.x
authorPascal Volk <neverseen@users.sourceforge.net>
Fri, 06 Aug 2010 23:06:19 +0000
branchv0.6.x
changeset 346 95d45e4ec1a6
parent 345 f8d5c8bb8bce
child 347 586367ee042b
VMM/cli/handler: Don't perform config and environment checks twice.
VirtualMailManager/cli/handler.py
--- a/VirtualMailManager/cli/handler.py	Fri Aug 06 22:34:46 2010 +0000
+++ b/VirtualMailManager/cli/handler.py	Fri Aug 06 23:06:19 2010 +0000
@@ -45,9 +45,6 @@
 
         self._cfg = Cfg(self._cfg_fname)
         self._cfg.load()
-        if not skip_some_checks:
-            self._cfg.check()
-            self._chkenv()
 
     def cfg_set(self, option, value):
         """Set a new value for the given option."""