forked from 0x2620/pandora
remove unused annotation.tasks.update_matches
This commit is contained in:
parent
4d1711cb01
commit
844d1697bd
1 changed files with 0 additions and 9 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue