Пример #1
0
 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
Пример #2
0
 def __init__(self, environ):
     DictElement.__init__(self, 'environ', environ)
Пример #3
0
 def __init__(self, trait, environ):
     DictElement.__init__(self, 'profile_variable', environ)
     self.setAttribute('trait', trait)
Пример #4
0
 def __init__(self, environ):
     DictElement.__init__(self, "environ", environ)
Пример #5
0
 def __init__(self, trait, environ):
     DictElement.__init__(self, "profile_variable", environ)
     self.setAttribute("trait", trait)