浏览代码

Merge branch 'master' of github.com:celery/celery

Ask Solem 11 年之前
父节点
当前提交
164a89b357
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      celery/app/task.py
  2. 1 1
      docs/userguide/tasks.rst

+ 1 - 1
celery/app/task.py

@@ -313,7 +313,7 @@ class Task(object):
     #: :setting:`CELERY_ACKS_LATE` setting.
     #: :setting:`CELERY_ACKS_LATE` setting.
     acks_late = None
     acks_late = None
 
 
-    #: List/tuple of expected exceptions.
+    #: Tuple of expected exceptions.
     #:
     #:
     #: These are errors that are expected in normal operation
     #: These are errors that are expected in normal operation
     #: and that should not be regarded as a real error by the worker.
     #: and that should not be regarded as a real error by the worker.

+ 1 - 1
docs/userguide/tasks.rst

@@ -472,7 +472,7 @@ General
 
 
 .. attribute:: Task.throws
 .. attribute:: Task.throws
 
 
-    Optional list of expected error classes that should not be regarded
+    Optional tuple of expected error classes that should not be regarded
     as an actual error.
     as an actual error.
 
 
     Errors in this list will be reported as a failure to the result backend,
     Errors in this list will be reported as a failure to the result backend,