Commit 04a736f1 authored by Joanne Hugé's avatar Joanne Hugé

Replace tab by spaces

parent 47d374bc
...@@ -39,7 +39,7 @@ def rpc(f): ...@@ -39,7 +39,7 @@ def rpc(f):
args, varargs, varkw, defaults = inspect.getargspec(f) args, varargs, varkw, defaults = inspect.getargspec(f)
assert not (varargs or varkw), f assert not (varargs or varkw), f
if not defaults: if not defaults:
defaults = () defaults = ()
i = len(args) - len(defaults) i = len(args) - len(defaults)
f.getcallargs = eval("lambda %s: locals()" % ','.join(args[1:i] f.getcallargs = eval("lambda %s: locals()" % ','.join(args[1:i]
+ map("%s=%r".__mod__, zip(args[i:], defaults)))) + map("%s=%r".__mod__, zip(args[i:], defaults))))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment