Pārlūkot izejas kodu

Fix docstring references to celery.task.base.RetryTaskError -> celery.exceptions.RetryTaskError

Ask Solem 17 gadi atpakaļ
vecāks
revīzija
9212395bba
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      celery/execute.py

+ 1 - 1
celery/execute.py

@@ -180,7 +180,7 @@ class ExecuteWrapper(object):
     If the call was successful, it saves the result to the task result
     If the call was successful, it saves the result to the task result
     backend, and sets the task status to ``"DONE"``.
     backend, and sets the task status to ``"DONE"``.
 
 
-    If the call raises :exc:`celery.task.base.RetryTaskError`, it extracts
+    If the call raises :exc:`celery.exceptions.RetryTaskError`, it extracts
     the original exception, uses that as the result and sets the task status
     the original exception, uses that as the result and sets the task status
     to ``"RETRY"``.
     to ``"RETRY"``.