(self, section, option, value)
Return True if option is added or changed to value, else False.

        Add section if required.  False means option already had value.
Return True if option is added or changed to value, else False.
Return True if option is added or changed to value else False .
def SetOption(self, section, option, value):
        """Return True if option is added or changed to value, else False.

        Add section if required.  False means option already had value.
        """
        if self.has_option(section, option):
            if self.get(section, option) == value:
                return False
            else:
                self.set(section, option, value)
                return True
        else:
            if not self.has_section(section):
                self.add_section(section)
            self.set(section, option, value)
            return True
def SetOption ( self , section , option , value ) : if self . has_option ( section , option ) : if self . get ( section , option ) == value : return False else : self . set ( section , option , value ) return True else : if not self . has_section ( section ) : self . add_section ( section ) self . set ( section , option , value ) return True