--- a/src/eric7/CycloneDXInterface/CycloneDXUtilities.py Tue Aug 29 16:55:18 2023 +0200 +++ b/src/eric7/CycloneDXInterface/CycloneDXUtilities.py Tue Aug 29 17:48:25 2023 +0200 @@ -11,7 +11,7 @@ import json import os -from xml.etree import ElementTree +from xml.etree import ElementTree # secok from cyclonedx.model import ( ExternalReference, @@ -207,7 +207,7 @@ @return prettified SBOM string @rtype str """ - tree = ElementTree.fromstring(inputStr) + tree = ElementTree.fromstring(inputStr) # secok with contextlib.suppress(AttributeError): ElementTree.indent(tree) return '<?xml version="1.0" encoding="UTF-8"?>\n' + ElementTree.tostring(