VirtualMailManager/VirtualMailManager.py
branchv0.6.x
changeset 182 84811fcc3c69
parent 180 f8279c90e99c
equal deleted inserted replaced
181:866a6d679fce 182:84811fcc3c69
    47             raise VMMNotRootException(_(u"You are not root.\n\tGood bye!\n"),
    47             raise VMMNotRootException(_(u"You are not root.\n\tGood bye!\n"),
    48                 ERR.CONF_NOPERM)
    48                 ERR.CONF_NOPERM)
    49         if self.__chkCfgFile():
    49         if self.__chkCfgFile():
    50             self.__Cfg = Cfg(self.__cfgFileName)
    50             self.__Cfg = Cfg(self.__cfgFileName)
    51             self.__Cfg.load()
    51             self.__Cfg.load()
    52         if not os.sys.argv[1] in ['cf', 'configure']:
    52         if not os.sys.argv[1] in ('cf','configure','h','help','v','version'):
    53             self.__Cfg.check()
    53             self.__Cfg.check()
    54             self.__chkenv()
    54             self.__chkenv()
    55             self.__scheme = self.__Cfg.dget('misc.password_scheme')
    55             self.__scheme = self.__Cfg.dget('misc.password_scheme')
    56             self._postconf = Postconf(self.__Cfg.dget('bin.postconf'))
    56             self._postconf = Postconf(self.__Cfg.dget('bin.postconf'))
    57 
    57