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

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

src/d/j/django-coop-HEAD/coop/models.py   django-coop(Download)
        try:
            validate(feed_url)
            Subscription.objects.unsubscribe(feed_url, hub="%s/hub/" % host)
        except ValidationError, e:
            log.debug(u" Impossible to unsubscribe to %s : %s" % (feed_url, e))

src/d/j/django-coop-0.7.3/coop/models.py   django-coop(Download)
        try:
            validate(feed_url)
            Subscription.objects.unsubscribe(feed_url, hub="%s/hub/" % host)
        except ValidationError, e:
            log.debug(u" Impossible to unsubscribe to %s : %s" % (feed_url, e))

src/b/a/batucada-HEAD/apps/links/tasks.py   batucada(Download)
    def run(self, link, **kwargs):
        Subscription.objects.unsubscribe(link.subscription.topic,
                                         hub=link.subscription.hub)
 
 

src/d/j/django-rdfalchemy-HEAD/djrdf/import_rdf/models.py   django-rdfalchemy(Download)
            try:
                validate(feed_url)
                Subscription.objects.unsubscribe(feed_url, hub=self.hub)
            except ValidationError:
                pass

src/r/a/raspberryio-HEAD/raspberryio/aggregator/models.py   raspberryio(Download)
    def delete(self, **kwargs):
        super(Feed, self).delete(**kwargs)
        if settings.SUPERFEEDR_CREDS != None:
            Subscription.objects.unsubscribe(self.feed_url, settings.PUSH_HUB)