Skip to content
GitLab
Menu
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
a0cf694a
Commit
a0cf694a
authored
Sep 22, 2004
by
Leigh B. Stoller
Browse files
Fix some pack/unpack errors; it appears that latest python is way more
pedantic!
parent
42f11a8d
Changes
1
Hide whitespace changes
Inline
Side-by-side
xmlrpc/script_wrapper.py.in
View file @
a0cf694a
...
...
@@ -164,10 +164,10 @@ def do_method(module, method, params):
print
(
"error: bad reponse from host, "
+
e
.
args
[
0
]
+
", and handler: "
+
e
.
args
[
1
])
print
"error: "
+
e
.
args
[
2
]
return
-
1
return
(
-
1
,
None
)
except
xmlrpclib
.
Fault
,
e
:
print
e
.
faultString
return
-
1
return
(
-
1
,
None
)
#
# Parse the Response, which is a Dictionary. See EmulabResponse in the
...
...
@@ -189,7 +189,7 @@ def do_method(module, method, params):
rval
=
response
[
"value"
]
pass
pass
return
rval
,
response
return
(
rval
,
response
)
#
# node_admin
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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