webthing/thing.py
def set_property(self, property_name, value):
        """
        Set a property value.

        property_name -- name of the property to set
        value -- value to set
        """
        prop = self.find_property(property_name)
        if not prop:
            return

        prop.set_value(value)
def set_property(self, property_name, value):
        prop = self.find_property(property_name)
        if not prop:
            return

        prop.set_value(value)
def set_property ( self , property_name , value ) : prop = self . find_property ( property_name ) if not prop : return prop . set_value ( value )
Set a property value.

        property_name -- name of the property to set
        value -- value to set
Set a property value .