Skip to content

Commit ba4f285

Browse files
committed
fix: remove unused commented out code
Signed-off-by: Paul Horton <[email protected]>
1 parent a5c3dab commit ba4f285

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

cyclonedx/output/xml.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,6 @@ def output_as_string(self) -> str:
4545
ElementTree.register_namespace('v', Xml.get_vulnerabilities_namespace())
4646

4747
components = ElementTree.SubElement(bom, 'components')
48-
# if self.get_bom().has_vulnerabilities():
49-
# vulnerabilities = ElementTree.SubElement(bom, 'v:vulnerabilities')
5048

5149
for component in self.get_bom().get_components():
5250
component_element = self._get_component_as_xml_element(component=component)

0 commit comments

Comments
 (0)