Commit 48f736d1 authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

DB "sets" are now represented as python "Sets" which the xmlrpc marshaller

does not handle. Just kill it from the response in osid.info; the caller is
not interested.
parent 54d9fdf2
...@@ -901,6 +901,12 @@ class osid: ...@@ -901,6 +901,12 @@ class osid:
osid["OS"] = "(None)" osid["OS"] = "(None)"
pass pass
# This is now represented as a "set" which the xmlrpc marshaller
# does not handle. Just kill it; the caller is not interested.
if osid["osfeatures"] and len(osid["osfeatures"]) != 0:
del osid["osfeatures"]
pass
return EmulabResponse(RESPONSE_SUCCESS, return EmulabResponse(RESPONSE_SUCCESS,
value=scrubdict(osid), value=scrubdict(osid),
output=str(osid)) output=str(osid))
......
Supports Markdown
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