Skip to content

Commit

Permalink
fix: sonar (#1481)
Browse files Browse the repository at this point in the history
Signed-off-by: Lou DeGenaro <[email protected]>
  • Loading branch information
degenaro authored Dec 11, 2023
1 parent eeb715c commit 4e7e8fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion trestle/transforms/implementations/xccdf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 4e7e8fd

Please sign in to comment.