def _get_debconf(self, element): debconf = self.get_elements_from_section(element, 'debconfiguration', 'debconf') for dc in debconf: dc_element = DictElement('debconf', {}) dc_element.reform(dc) tdict = {} tdict.update(dc_element) self.debconf[tdict['name']] = tdict
def __init__(self, environ): DictElement.__init__(self, 'environ', environ)
def __init__(self, trait, environ): DictElement.__init__(self, 'profile_variable', environ) self.setAttribute('trait', trait)
def __init__(self, environ): DictElement.__init__(self, "environ", environ)
def __init__(self, trait, environ): DictElement.__init__(self, "profile_variable", environ) self.setAttribute("trait", trait)