VMM/VMM: Allow version/help subcommands even with missing configuration options.
--- a/VirtualMailManager/VirtualMailManager.py Mon Feb 01 19:57:42 2010 +0000
+++ b/VirtualMailManager/VirtualMailManager.py Mon Feb 01 20:53:39 2010 +0000
@@ -49,7 +49,7 @@
if self.__chkCfgFile():
self.__Cfg = Cfg(self.__cfgFileName)
self.__Cfg.load()
- if not os.sys.argv[1] in ['cf', 'configure']:
+ if not os.sys.argv[1] in ('cf','configure','h','help','v','version'):
self.__Cfg.check()
self.__chkenv()
self.__scheme = self.__Cfg.dget('misc.password_scheme')