Changeset - d3fed4806ef7
[Not reviewed]
default
0 1 0
Mads Kiilerich - 10 years ago 2016-01-05 16:30:12
madski@unity3d.com
celery: stop using deprecated celery.decorators

We don't use the old magic keyword arguments and can just use celery.task
instead - see
http://docs.celeryproject.org/en/latest/history/changelog-2.2.html#version-2-2-0
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
kallithea/lib/celerylib/tasks.py
Show inline comments
 
@@ -23,13 +23,13 @@ Original author and date, and relevant c
 
:created_on: Oct 6, 2010
 
:author: marcink
 
:copyright: (c) 2013 RhodeCode GmbH, and others.
 
:license: GPLv3, see LICENSE.md for more details.
 
"""
 

	
 
from celery.decorators import task
 
from celery.task import task
 

	
 
import os
 
import traceback
 
import logging
 
import rfc822
 
from os.path import join as jn
0 comments (0 inline, 0 general)