switch off bandit error that are not pertinent

This commit is contained in:
Romain Bazile 2020-11-12 19:04:25 +01:00
parent 736a09ff5f
commit 4bcc9f1153

View file

@ -48,7 +48,7 @@ def uuidMachineName(machine="", type=1):
while len(x) > 0:
tup = popHexPair(x)
n = tup[0]
if count >= random.randint(2, 4):
if count >= random.randint(2, 4): # nosec
name += " "
count = 0
name += combos[n]
@ -86,7 +86,7 @@ def uuidName():
while len(x) > 0:
tup = popHexPair(x)
n = tup[0]
if count >= random.randint(2, 4):
if count >= random.randint(2, 4): # nosec
name += " "
count = 0
name += combos[n]