Exemple #1
0
 def read_local_config(self, local_xml_path):
     """ Apply a local configuration """
     local_tree = etree.parse(local_xml_path)
     self.local.parse(local_tree)
     default_config = self.local.defaults.config
     if default_config:
         self.set_active_config(default_config)
Exemple #2
0
 def read_local_config(self, local_xml_path):
     """ Apply a local configuration """
     local_tree = etree.parse(local_xml_path)
     self.local.parse(local_tree)
     default_config = self.local.defaults.config
     if default_config:
         self.set_active_config(default_config)