Home
last modified time | relevance | path

Searched refs:config_obj (Results 1 – 1 of 1) sorted by relevance

/OK3568_Linux_fs/yocto/poky/scripts/
H A Ddevtool38 config_obj = None variable in ConfigHandler
44 self.config_obj = configparser.ConfigParser()
48 ret = self.config_obj.get(section, option)
58 self.config_obj.read(self.config_file)
60 if self.config_obj.has_option('General', 'init_path'):
67 self.config_obj.add_section('General')
75 self.config_obj.set('General', 'workspace_path', self.workspace_path)
77 self.config_obj.write(f)
80 if not self.config_obj.has_section(section):
81 self.config_obj.add_section(section)
[all …]