mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-17 23:58:44 +00:00
Fix previous commit to recursively copy the args
This commit is contained in:
parent
9c40b777f3
commit
0d2c73063c
1 changed files with 2 additions and 4 deletions
|
@ -430,11 +430,9 @@ 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)
|
import copy
|
||||||
|
result = m(*copy.deepcopy(args), **copy.deepcopy(kwargs))
|
||||||
except Exception, e:
|
except Exception, e:
|
||||||
d.errback(e)
|
d.errback(e)
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue