marvin : cloudstack-version is not reqd for json load

To build back cloudstack response we don't need to load the
'cloudstack-version' string, only the response
This commit is contained in:
Prasanna Santhanam 2012-12-26 13:36:58 -08:00
parent 5aefd77f77
commit bab974c3bc
2 changed files with 1 additions and 5 deletions

View File

@ -121,7 +121,7 @@ def getResultObj(returnObj, responsecls=None):
if len(returnObj) == 0:
return None
responseName = returnObj.keys()[0]
responseName = filter(lambda a: a!=u'cloudstack-version', returnObj.keys())[0]
response = returnObj[responseName]
if len(response) == 0:

View File

@ -148,10 +148,6 @@
"name": "workers",
"value": "10"
},
{
"name": "use.user.concentrated.pod.allocation",
"value": "false"
},
{
"name": "account.cleanup.interval",
"value": "600"