# HG changeset patch # User Pascal Volk # Date 1265057619 0 # Node ID 84811fcc3c698a6c7488e8e064f5244aef244ec9 # Parent 866a6d679fce7e600ba3fa056afc20da9f436716 VMM/VMM: Allow version/help subcommands even with missing configuration options. diff -r 866a6d679fce -r 84811fcc3c69 VirtualMailManager/VirtualMailManager.py --- 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')