diff --git a/manila/share/drivers/dell_emc/common/enas/xml_api_parser.py b/manila/share/drivers/dell_emc/common/enas/xml_api_parser.py index 7d90313176..d5db5c2021 100644 --- a/manila/share/drivers/dell_emc/common/enas/xml_api_parser.py +++ b/manila/share/drivers/dell_emc/common/enas/xml_api_parser.py @@ -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