#raise ServerError("GET_OAR_SRVR : Could not reach OARserver")
if resp.status >= 400:
raise ValueError ("Response Error %s, %s" %(resp.status,
- resp.reason))
+ resp.reason, resp.read()))
try:
js_dict = json.loads(body)
#print "\r\n \t\t\t js_dict keys" , js_dict.keys(), " \r\n", js_dict
if resp.status >= 400:
raise ValueError ("Response Error %s, %s" %(resp.status,
- resp.reason))
+ resp.reason, body))
try:
:rtype: dict
.. warning:: unused
- .. seealso:: GetSites (IotlabTestbedAPI)
+ .. seealso:: GetSites (IotlabShell)
"""
self.ChangeRawJsonDependingOnApilibVersion()