Browse Source

[compat] push_request + pop_request cannot be classmethods. Closes #912

Ask Solem 12 years ago
parent
commit
fd963903b2
1 changed files with 2 additions and 2 deletions
  1. 2 2
      celery/task/base.py

+ 2 - 2
celery/task/base.py

@@ -21,8 +21,8 @@ from celery.utils.log import get_task_logger
 
 #: list of methods that must be classmethods in the old API.
 _COMPAT_CLASSMETHODS = (
-    'delay', 'apply_async', 'retry', 'apply',
-    'AsyncResult', 'subtask', 'push_request', 'pop_request')
+    'delay', 'apply_async', 'retry', 'apply', 'AsyncResult', 'subtask',
+)
 
 
 class Task(BaseTask):