소스 검색

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:
             ...
         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: