Explorar el Código

Made AbortableTask abstract.

Simon Charette hace 12 años
padre
commit
b351c85656
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  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."""