From 4e7e8fd6618852dcceb4b464a7cabc91154e171a Mon Sep 17 00:00:00 2001 From: Lou DeGenaro Date: Mon, 11 Dec 2023 11:03:23 -0500 Subject: [PATCH] fix: sonar (#1481) Signed-off-by: Lou DeGenaro --- trestle/transforms/implementations/xccdf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trestle/transforms/implementations/xccdf.py b/trestle/transforms/implementations/xccdf.py index 5afedfece..c92222a89 100644 --- a/trestle/transforms/implementations/xccdf.py +++ b/trestle/transforms/implementations/xccdf.py @@ -318,7 +318,7 @@ def _get_result(self, lev1: Element) -> str: def _parse_xml(self) -> Iterator[RuleUse]: """Parse the stringified XML.""" ns = { - 'checklist12': 'http://checklists.nist.gov/xccdf/1.2', + 'checklist12': 'http://checklists.nist.gov/xccdf/1.2', # NOSONAR } results = self.xccdf_xml root = ElementTree.fromstring(results, forbid_dtd=True)