changeset 5621:d3fed4806ef7

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
author Mads Kiilerich <madski@unity3d.com>
date Tue, 05 Jan 2016 16:30:12 +0100
parents ddefc55eaf08
children 96222fc10c83
files kallithea/lib/celerylib/tasks.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/kallithea/lib/celerylib/tasks.py	Tue Jan 05 16:30:11 2016 +0100
+++ b/kallithea/lib/celerylib/tasks.py	Tue Jan 05 16:30:12 2016 +0100
@@ -26,7 +26,7 @@
 :license: GPLv3, see LICENSE.md for more details.
 """
 
-from celery.decorators import task
+from celery.task import task
 
 import os
 import traceback