Commit 30b7e292 authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

Fix to the previous fix.

parent 7db226f7
......@@ -902,9 +902,15 @@ class osid:
# 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"]
# does not handle.
if osid["osfeatures"]:
features = {}
for feature in osid["osfeatures"]:
features[feature] = feature
osid["osfeatures"] = features
return EmulabResponse(RESPONSE_SUCCESS,
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