Ask Solem 8 年 前
コミット
9c83c3f9bc
3 ファイル変更1 行追加2 行削除
  1. 0 1
      celery/canvas.py
  2. 1 0
      t/integration/test_canvas.py
  3. 0 1
      t/unit/tasks/test_canvas.py

+ 0 - 1
celery/canvas.py

@@ -747,7 +747,6 @@ class chain(Signature):
                 )
                 prev_res = prev_prev_res
 
-
             if is_last_task:
                 # chain(task_id=id) means task id is set for the last task
                 # in the chain.  If the chord is part of a chord/group

+ 1 - 0
t/integration/test_canvas.py

@@ -1,6 +1,7 @@
 from __future__ import absolute_import, unicode_literals
 import pytest
 from celery import chain, group, uuid
+from celery.exceptions import TimeoutError
 from .tasks import add, collect_ids, ids
 
 TIMEOUT = 120

+ 0 - 1
t/unit/tasks/test_canvas.py

@@ -516,7 +516,6 @@ class test_chain(CanvasCase):
             node = node.parent
 
 
-
 class test_group(CanvasCase):
 
     def test_repr(self):