Skip to content

Commit

Permalink
refactor: extred -> extref (#753)
Browse files Browse the repository at this point in the history
Signed-off-by: Jan Kowalleck <[email protected]>
  • Loading branch information
jkowalleck authored Jun 8, 2024
1 parent 54b2ad8 commit a178d2e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cyclonedx_py/_internal/environment.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ def __add_components(self, bom: 'Bom',
# path of dist-package on disc? naaa... a package may have multiple files/folders on disc
)
del dist_meta, dist_name, dist_version
self.__component_add_extred_and_purl(component, packagesource4dist(dist))
self.__component_add_extref_and_purl(component, packagesource4dist(dist))
all_components[normalize_packagename(component.name)] = (
component,
tuple(map(Requirement, dist.requires or ()))
Expand Down Expand Up @@ -210,7 +210,7 @@ def __finalize_dependencies(self, bom: 'Bom', all_components: 'T_AllComponents')
)
bom.register_dependency(component, component_deps)

def __component_add_extred_and_purl(self, component: 'Component',
def __component_add_extref_and_purl(self, component: 'Component',
packagesource: Optional['PackageSource']) -> None:
purl_qs = {} # https://github.com/package-url/purl-spec/blob/master/PURL-SPECIFICATION.rst
purl_subpath = None
Expand Down

0 comments on commit a178d2e

Please sign in to comment.