Specify bandit rule to nosec in ZFSSA driver

Adds specific rule to no sec comment for ZFSSA driver.
Follow up to change Id71c0ee4138b695ff19085a284ccced6b1a9dbba

Depends-On: I532ff3f0b2613340e0cb46c3b7e57a22cfa50c61
Change-Id: I997d45d3d3850af30510af41ef335242f02642fc
This commit is contained in:
Ashley Rodriguez 2024-05-09 12:22:51 -04:00 committed by Ashley Rodriguez
parent 433e99519f
commit cad3158566

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: