Author: andar
Revision: 5766
Log:
Fix previous commit to recursively copy the args
Diff:
Modified: trunk/deluge/ui/client.py
===================================================================
--- trunk/deluge/ui/client.py 2009-09-19 05:16:33 UTC (rev 5765)
+++ trunk/deluge/ui/client.py 2009-09-19 05:41:36 UTC (rev 5766)
@@ -430,11 +430,9 @@
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:
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"deluge-commit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/deluge-commit?hl=en
-~----------~----~----~----~------~----~------~--~---