瀏覽代碼

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

Ask Solem 14 年之前
父節點
當前提交
6c6b5f54f3
共有 1 個文件被更改,包括 2 次插入2 次删除
  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:
         try:
             ...
             ...
         except Exception, exc:
         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:
 .. _task-options: