Code Review
/
optf
/
osdf.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Fix sonar issues
[optf/osdf.git]
/
osdf
/
utils
/
interfaces.py
diff --git
a/osdf/utils/interfaces.py
b/osdf/utils/interfaces.py
index
93264b2
..
a0a564e
100644
(file)
--- a/
osdf/utils/interfaces.py
+++ b/
osdf/utils/interfaces.py
@@
-104,7
+104,7
@@
class RestClient(object):
res_code = str(res.status_code)
if not any(res_code.startswith(x) for x in map(str, ok_codes)):
- raise
res.raise_for_status(
)
+ raise
BaseException(res.raise_for_status()
)
if raw_response:
return res