Merge "Specify bandit rule to nosec in ZFSSA driver"

This commit is contained in:
Zuul 2024-05-14 04:40:45 +00:00 committed by Gerrit Code Review
commit 1cd1c4369f
1 changed files with 1 additions and 1 deletions

View File

@ -282,7 +282,7 @@ class RestClientURL(object): # pylint: disable=R0902
while retry < maxreqretries:
try:
response = urlrequest.urlopen(req, # nosec
response = urlrequest.urlopen(req, # nosec B310
timeout=self.timeout)
except urlerror.HTTPError as err:
if err.code == http_client.NOT_FOUND: