git://git.onelab.eu
/
sfa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
iotlab driver: wip fixing Timur's bug when a user already has an account in LDAP...
[sfa.git]
/
sfa
/
iotlab
/
OARrestapi.py
diff --git
a/sfa/iotlab/OARrestapi.py
b/sfa/iotlab/OARrestapi.py
index
c612e47
..
20091e4
100644
(file)
--- a/
sfa/iotlab/OARrestapi.py
+++ b/
sfa/iotlab/OARrestapi.py
@@
-228,7
+228,7
@@
class OARrestapi:
# % (error))
#raise ServerError("GET_OAR_SRVR : Could not reach OARserver")
if resp.status >= 400:
# % (error))
#raise ServerError("GET_OAR_SRVR : Could not reach OARserver")
if resp.status >= 400:
- raise ValueError ("Response Error %s, %s" %(resp.status,
+ raise ValueError ("Response Error %s, %s
, %s
" %(resp.status,
resp.reason, resp.read()))
try:
js_dict = json.loads(body)
resp.reason, resp.read()))
try:
js_dict = json.loads(body)
@@
-286,7
+286,7
@@
class OARrestapi:
conn.close()
if resp.status >= 400:
conn.close()
if resp.status >= 400:
- raise ValueError ("Response Error %s, %s" %(resp.status,
+ raise ValueError ("Response Error %s, %s
, %s
" %(resp.status,
resp.reason, body))
resp.reason, body))