Sfoglia il codice sorgente

Made AbortableTask abstract.

Simon Charette 13 anni fa
parent
commit
b351c85656
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. 2 0
      celery/contrib/abortable.py

+ 2 - 0
celery/contrib/abortable.py

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