Commit 3e705a0f authored by David Johnson's avatar David Johnson

Add support for calling xmlrpc methods using argdicts in addition to

tuples and lists.
parent 0475bcef
......@@ -387,6 +387,8 @@ def tryXmlrpcCmd(cmd, args = (),
# a tuple - throws an exception if its operand isn't
if type(args) == tuple:
return cmd(*args)
elif type(args) == dict:
return cmd(**args)
else:
return cmd(args)
else:
......
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