Commit e7be6d8c authored by Leigh Stoller's avatar Leigh Stoller

None is not a datatype that can be represented in XML, so do not

return it to the client.
parent 5df47506
......@@ -36,7 +36,7 @@ RESPONSE_SERVERERROR = 5
RESPONSE_TOOBIG = 6
class EmulabResponse:
def __init__(self, code, value=0, output=None):
def __init__(self, code, value=0, output=""):
self.code = code # A RESPONSE code
self.value = value # A return value; any valid XML type.
self.output = output # Pithy output to print
......
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