def handle_noargs(self, **options): if site_too_old(): return from localtv.tasks import update_sources, CELERY_USING update_sources.delay(using=CELERY_USING)
def handle_noargs(self, **options): if site_too_old(): return from localtv.tasks import update_sources update_sources.delay()