From 844d1697bdd7279aad657abd0497abd8927a0031 Mon Sep 17 00:00:00 2001 From: j Date: Tue, 6 Sep 2016 00:19:36 +0200 Subject: [PATCH] remove unused annotation.tasks.update_matches --- pandora/annotation/tasks.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/pandora/annotation/tasks.py b/pandora/annotation/tasks.py index 64b6d783..f74c92f1 100644 --- a/pandora/annotation/tasks.py +++ b/pandora/annotation/tasks.py @@ -11,15 +11,6 @@ from celery.task import task from .models import Annotation -@task(ignore_results=True, queue='default') -def update_matches(id, type): - try: - a = Annotation.objects.get(pk=id) - except Annotation.DoesNotExist: - a = None - if a: - a.update_matches() - @task(ignore_results=False, queue='default') def add_annotations(data): from item.models import Item