Merge "Adds nosec comment to ZFSSA driver"
This commit is contained in:
commit
242dc78ee5
@ -282,7 +282,8 @@ class RestClientURL(object): # pylint: disable=R0902
|
|||||||
|
|
||||||
while retry < maxreqretries:
|
while retry < maxreqretries:
|
||||||
try:
|
try:
|
||||||
response = urlrequest.urlopen(req, timeout=self.timeout)
|
response = urlrequest.urlopen(req, # nosec
|
||||||
|
timeout=self.timeout)
|
||||||
except urlerror.HTTPError as err:
|
except urlerror.HTTPError as err:
|
||||||
if err.code == http_client.NOT_FOUND:
|
if err.code == http_client.NOT_FOUND:
|
||||||
log_debug_msg(self, 'REST Not Found: %s' % err.code)
|
log_debug_msg(self, 'REST Not Found: %s' % err.code)
|
||||||
|
Loading…
Reference in New Issue
Block a user