Ver Fonte

Tasks Userguide: Fixes typo self.retry -> add.retry

Ask Solem há 14 anos atrás
pai
commit
6c6b5f54f3
1 ficheiros alterados com 2 adições e 2 exclusões
  1. 2 2
      docs/userguide/tasks.rst

+ 2 - 2
docs/userguide/tasks.rst

@@ -153,8 +153,8 @@ You can also provide the `countdown` argument to
         try:
             ...
         except Exception, exc:
-            self.retry(exc=exc, countdown=60)  # override the default and
-                                               # retry in 1 minute
+            add.retry(exc=exc, countdown=60)  # override the default and
+                                              # retry in 1 minute
 
 .. _task-options: