Skip to content
Snippets Groups Projects
Commit 8d129633 authored by Alberto Pianon's avatar Alberto Pianon
Browse files

remove duplicate entries in licenseInfoInFile


Signed-off-by: default avatarAlberto Pianon <alberto@pianon.eu>
parent c3da7d65
No related branches found
No related tags found
No related merge requests found
Pipeline #45723 passed
......@@ -233,6 +233,8 @@ class Debian2AlienSPDX(Scancode2AlienSPDX):
alien_spdx_files.append(alien_file)
self.alien_spdx = self._debian_spdx
self.alien_spdx.package.files = alien_spdx_files
for alien_file in self.alien_spdx.package.files:
alien_file.licenses_in_file = list(set(alien_file.licenses_in_file))
if proximity < NEARLY_FULL_PROXIMITY:
logger.info(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment