equal
deleted
inserted
replaced
79 |
79 |
80 def _check_parameter(self, parameter): |
80 def _check_parameter(self, parameter): |
81 """Check that the `parameter` looks like a configuration parameter. |
81 """Check that the `parameter` looks like a configuration parameter. |
82 If not, a VMMError will be raised.""" |
82 If not, a VMMError will be raised.""" |
83 if not self.__class__._parameter_re.match(parameter): |
83 if not self.__class__._parameter_re.match(parameter): |
84 raise VMMError(_(u"The value '%s' doesn't look like a valid " |
84 raise VMMError(_(u"The value '%s' does not look like a valid " |
85 u"postfix configuration parameter name.") % |
85 u"postfix configuration parameter name.") % |
86 parameter, VMM_ERROR) |
86 parameter, VMM_ERROR) |
87 |
87 |
88 def _expand_vars(self): |
88 def _expand_vars(self): |
89 """Expand the $variables in self._val to their values.""" |
89 """Expand the $variables in self._val to their values.""" |