projects
/
osm
/
RO.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Enabling Pylint in RO and removing unused methods
[osm/RO.git]
/
RO-SDN-juniper_contrail
/
osm_rosdn_juniper_contrail
/
rest_lib.py
diff --git
a/RO-SDN-juniper_contrail/osm_rosdn_juniper_contrail/rest_lib.py
b/RO-SDN-juniper_contrail/osm_rosdn_juniper_contrail/rest_lib.py
index
31ea213
..
fff489d
100644
(file)
--- a/
RO-SDN-juniper_contrail/osm_rosdn_juniper_contrail/rest_lib.py
+++ b/
RO-SDN-juniper_contrail/osm_rosdn_juniper_contrail/rest_lib.py
@@
-162,9
+162,7
@@
class ContrailHttp(object):
except AuthError:
# If there is an auth error retry just once
if retry_auth_error:
except AuthError:
# If there is an auth error retry just once
if retry_auth_error:
- return self._request(
- self, op, url, headers, data, retry_auth_error=False
- )
+ return self._request(op, url, headers, data, retry_auth_error=False)
def _request_noauth(self, op, url, headers, data=None):
# Method to execute http requests with error control
def _request_noauth(self, op, url, headers, data=None):
# Method to execute http requests with error control