equal
deleted
inserted
replaced
39 Keyword arguments: |
39 Keyword arguments: |
40 parameter -- the name of a Postfix configuration parameter (str) |
40 parameter -- the name of a Postfix configuration parameter (str) |
41 expand_vars -- default True (bool) |
41 expand_vars -- default True (bool) |
42 """ |
42 """ |
43 if not re.match(RE_PC_PARAMS, parameter): |
43 if not re.match(RE_PC_PARAMS, parameter): |
44 raise VMMException(_(u'The value »%s« looks not like a valid\ |
44 raise VMMException(_(u'The value “%s” looks not like a valid\ |
45 postfix configuration parameter name.') % parameter, ERR.VMM_ERROR) |
45 postfix configuration parameter name.') % parameter, ERR.VMM_ERROR) |
46 self.__val = self.__read(parameter) |
46 self.__val = self.__read(parameter) |
47 if expand_vars: |
47 if expand_vars: |
48 self.__expandVars() |
48 self.__expandVars() |
49 return self.__val |
49 return self.__val |