D | depends.py | 120 def option_exists(conf, option): argument 121 return option in conf.settings 123 def set_config_option_value(conf, option, colors, value: Union[bool, str]): argument 127 if not option_exists(conf, option): 128 log_line('Symbol {} was not found in {}'.format(option, conf.filename), color=colors.red) 132 log_command(['config.py', 'unset', option]) 133 conf.unset(option) 135 log_command(['config.py', 'set', option]) 136 conf.set(option) 138 log_command(['config.py', 'set', option, value]) [all …]
|