Did I find the right examples for you? yes no

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

src/c/o/comics-HEAD/comics/aggregator/crawler.py   comics(Download)
from django.utils import timezone
 
from comics.aggregator.exceptions import (
    CrawlerHTTPError, ImageURLNotFound, NotHistoryCapable,
    ReleaseAlreadyExists)
        if self.multiple_releases_per_day is False:
            if self.comic.release_set.filter(pub_date=pub_date).count() > 0:
                raise ReleaseAlreadyExists(identifier)
 
        return pub_date