Make a copy of the args and kwargs when making a daemon call in classic mode.. This makes it's
behaviour to the same as when making a RPC
This commit is contained in:
parent
3f8441af6a
commit
9c40b777f3
|
@ -430,8 +430,11 @@ class DaemonClassicProxy(DaemonProxy):
|
||||||
d.errback(e)
|
d.errback(e)
|
||||||
return d
|
return d
|
||||||
|
|
||||||
|
_args = list(args)
|
||||||
|
_kwargs = dict(kwargs)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
result = m(*args, **kwargs)
|
result = m(*_args, **_kwargs)
|
||||||
except Exception, e:
|
except Exception, e:
|
||||||
d.errback(e)
|
d.errback(e)
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue