Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
3e705a0f
Commit
3e705a0f
authored
Apr 13, 2008
by
David Johnson
Browse files
Add support for calling xmlrpc methods using argdicts in addition to
tuples and lists.
parent
0475bcef
Changes
1
Hide whitespace changes
Inline
Side-by-side
tbsetup/libtestbed.py.in
View file @
3e705a0f
...
...
@@ -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
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment