Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 44dbb89

Browse files
committed
header -> xheader
1 parent 36bcecd commit 44dbb89

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

zerorpc/core.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -405,9 +405,9 @@ def fork_task_context(functor, context=None):
405405
- if the new task will make any zerorpc call, it should be wrapped.
406406
'''
407407
context = context or Context.get_instance()
408-
header = context.hook_get_task_context()
408+
xheader = context.hook_get_task_context()
409409

410410
def wrapped(*args, **kargs):
411-
context.hook_load_task_context(header)
411+
context.hook_load_task_context(xheader)
412412
return functor(*args, **kargs)
413413
return wrapped

0 commit comments

Comments
 (0)