We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f889823 commit cf0826cCopy full SHA for cf0826c
cyclonedx/model/tool.py
@@ -188,9 +188,9 @@ def __init__(
188
warn('Using Tool is deprecated as of CycloneDX v1.5. Components and Services should be used now. '
189
'See https://cyclonedx.org/docs/1.5/', DeprecationWarning)
190
191
- self._components = SortedSet(components or SortedSet())
192
- self._services = SortedSet(services or SortedSet())
193
- self._tools = SortedSet(tools or SortedSet())
+ self._components = SortedSet(components or [])
+ self._services = SortedSet(services or [])
+ self._tools = SortedSet(tools or [])
194
195
@property
196
def components(self) -> 'SortedSet[Component]':
0 commit comments