浏览代码

Made AbortableTask abstract.

Simon Charette 12 年之前
父节点
当前提交
b351c85656
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      celery/contrib/abortable.py

+ 2 - 0
celery/contrib/abortable.py

@@ -142,6 +142,8 @@ class AbortableTask(Task):
 
     """
 
+    abstract = True
+
     @classmethod
     def AsyncResult(cls, task_id):
         """Returns the accompanying AbortableAsyncResult instance."""