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 f365313 commit e60c631Copy full SHA for e60c631
1 file changed
cyclonedx/model/bom.py
@@ -208,7 +208,7 @@ def manufacture(self, manufacture: Optional[OrganizationalEntity]) -> None:
208
@todo Based on https://github.com/CycloneDX/specification/issues/346,
209
we should set this data on `.component.manufacturer`.
210
"""
211
- if manufacture:
+ if manufacture is not None:
212
warn(
213
'`bom.metadata.manufacture` is deprecated from CycloneDX v1.6 onwards. '
214
'Please use `bom.metadata.component.manufacturer` instead.',
0 commit comments