From 0d2c73063ca55429b39787c8a01186964de44ae4 Mon Sep 17 00:00:00 2001 From: Andrew Resch Date: Sat, 19 Sep 2009 05:41:36 +0000 Subject: [PATCH] Fix previous commit to recursively copy the args --- deluge/ui/client.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/deluge/ui/client.py b/deluge/ui/client.py index 83458bfa2..3cd73a4ad 100644 --- a/deluge/ui/client.py +++ b/deluge/ui/client.py @@ -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: