mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 19:44:52 +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)
|
||||
return d
|
||||
|
||||
_args = list(args)
|
||||
_kwargs = dict(kwargs)
|
||||
|
||||
try:
|
||||
result = m(*_args, **_kwargs)
|
||||
import copy
|
||||
result = m(*copy.deepcopy(args), **copy.deepcopy(kwargs))
|
||||
except Exception, e:
|
||||
d.errback(e)
|
||||
else:
|
||||
|
|
Loading…
Add table
Reference in a new issue