remove unused annotation.tasks.update_matches

This commit is contained in:
j 2016-09-06 00:19:36 +02:00
parent 4d1711cb01
commit 844d1697bd

View file

@ -11,15 +11,6 @@ from celery.task import task
from .models import Annotation 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') @task(ignore_results=False, queue='default')
def add_annotations(data): def add_annotations(data):
from item.models import Item from item.models import Item