|
@@ -17,7 +17,7 @@ import warnings
|
|
|
from celery import task as _task
|
|
|
|
|
|
|
|
|
-warnings.warn("""
|
|
|
+warnings.warn(PendingDeprecationWarning("""
|
|
|
The `celery.decorators` module and the magic keyword arguments
|
|
|
are pending deprecation and will be deprecated in 2.4, then removed
|
|
|
in 3.0.
|
|
@@ -27,7 +27,7 @@ and `celery.task.task` used instead of `celery.decorators.task`.
|
|
|
|
|
|
See the 2.2 Changelog for more information.
|
|
|
|
|
|
-""")
|
|
|
+"""))
|
|
|
|
|
|
|
|
|
def task(*args, **kwargs): # ✞
|