Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)

src/o/p/openerp-client-5.0.0-3/bin/SpiffGtkWidgets/Calendar/CanvasRectangle.py   openerp-client(Download)
    def do_set_property(self, property, value):
        if property.name in self.property_names:
            return self.__setattr__(property.name.replace('-', '_'), value)
        else:
            raise AttributeError, 'unknown property %s' % property.name

src/s/p/SpiffGtkWidgets-0.2.0/src/SpiffGtkWidgets/Calendar/CanvasRectangle.py   SpiffGtkWidgets(Download)
    def do_set_property(self, property, value):
        if property.name in self.property_names:
            return self.__setattr__(property.name.replace('-', '_'), value)
        else:
            raise AttributeError, 'unknown property %s' % property.name