(config_type, section, item, value)
return idleConf.userCfg[config_type].SetOption(section, item, value)
Return True if the configuration value was added or changed.

        Helper for save_all.
Return True if the configuration value was added or changed.
Return True if the configuration value was added or changed .
def save_option(config_type, section, item, value):
        """Return True if the configuration value was added or changed.

        Helper for save_all.
        """
        if idleConf.defaultCfg[config_type].has_option(section, item):
            if idleConf.defaultCfg[config_type].Get(section, item) == value:
                # The setting equals a default setting, remove it from user cfg.
                return idleConf.userCfg[config_type].RemoveOption(section, item)
        # If we got here, set the option.
        return idleConf.userCfg[config_type].SetOption(section, item, value)
def save_option ( config_type , section , item , value ) : if idleConf . defaultCfg [ config_type ] . has_option ( section , item ) : if idleConf . defaultCfg [ config_type ] . Get ( section , item ) == value : # The setting equals a default setting, remove it from user cfg. return idleConf . userCfg [ config_type ] . RemoveOption ( section , item ) # If we got here, set the option. return idleConf . userCfg [ config_type ] . SetOption ( section , item , value )