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

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

src/d/j/django-bogofilter-0.1/bogofilter/models.py   django-bogofilter(Download)
        bogo.mark_spam(self.make_email_msg(), bogofilter_args = self.bogofilter_args[:])
        self.is_public = False
        self.save()
 
    def mark_ham(self):
        bogo.mark_ham(self.make_email_msg(), bogofilter_args = self.bogofilter_args[:])
        self.is_public = True
        self.save()
 
    def bogotype(self):
    def run_spam_filter(self):
        btype = self.bogotype()[0]
        if btype == 'S':
            self.is_public = False
            self.save()
        elif btype == 'H':
            self.is_public = True
            self.save()