Merge "Applies nosec in Dell EMC eNAS"

This commit is contained in:
Zuul 2024-05-23 21:44:48 +00:00 committed by Gerrit Code Review
commit 4109b81f21

View File

@ -64,9 +64,9 @@ class XMLAPIParser(object):
func = self._get_func(action, self.tag)
if func in vars(XMLAPIParser):
if action == 'start':
eval('self.' + func)(elem, result)
eval('self.' + func)(elem, result) # nosec B307
elif action == 'end':
eval('self.' + func)()
eval('self.' + func)() # nosec B307
return result