Did I find the right examples for you? yes no

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

src/m/o/modoboa-1.1.1/modoboa/extensions/postfix_relay_domains/models.py   modoboa(Download)
        self.enabled = (row[4].strip() == 'True')
        self.verify_recipients = (row[5].strip() == 'True')
        self.save(creator=user)
 
    def post_create(self, creator):
            raise NotFound(_("Relay domain %s does not exist" % row[2].strip()))
        self.enabled = (row[3].strip() == 'True')
        self.save(creator=user)
 
reversion.register(RelayDomainAlias)

src/m/o/modoboa-HEAD/modoboa/extensions/postfix_relay_domains/models.py   modoboa(Download)
        self.enabled = (row[4].strip() == 'True')
        self.verify_recipients = (row[5].strip() == 'True')
        self.save(creator=user)
 
    def post_create(self, creator):
            raise NotFound(_("Relay domain %s does not exist" % row[2].strip()))
        self.enabled = (row[3].strip() == 'True')
        self.save(creator=user)
 
reversion.register(RelayDomainAlias)