示例#1
0
文件: config.py 项目: mikalv/qibuild
 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)
示例#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)