Commit a0cf694a authored by Leigh B. Stoller's avatar Leigh B. Stoller

Fix some pack/unpack errors; it appears that latest python is way more

pedantic!
parent 42f11a8d
......@@ -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
......
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