Browse Source

Update trace.py

Looks like #1684 also ;)
Markus Ullmann 11 năm trước cách đây
mục cha
commit
9f7544f357
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      celery/app/trace.py

+ 1 - 1
celery/app/trace.py

@@ -194,7 +194,7 @@ def build_tracer(name, task, loader=None, hostname=None, store_errors=True,
     signature = canvas.maybe_signature  # maybe_ does not clone if already
 
     def trace_task(uuid, args, kwargs, request=None):
-        R = I = retval = None
+        R = I = retval = state = None
         kwargs = kwdict(kwargs)
         try:
             push_task(task)