Author: andar
Revision: 5765
Log:
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
Diff:
Modified: trunk/deluge/ui/client.py
===================================================================
--- trunk/deluge/ui/client.py 2009-09-19 00:18:14 UTC (rev 5764)
+++ trunk/deluge/ui/client.py 2009-09-19 05:16:33 UTC (rev 5765)
@@ -430,8 +430,11 @@
d.errback(e)
return d
+ _args = list(args)
+ _kwargs = dict(kwargs)
+
try:
- result = m(*args, **kwargs)
+ result = m(*_args, **_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
-~----------~----~----~----~------~----~------~--~---