Fix previous commit to recursively copy the args

This commit is contained in:
Andrew Resch 2009-09-19 05:41:36 +00:00
parent 9c40b777f3
commit 0d2c73063c
1 changed files with 2 additions and 4 deletions

View File

@ -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: