Closed hesa closed 4 months ago
in the function __identify_license
in the file license_db.py
, remove
elif name in self.license_db[SCANCODE_KEYS_TAG]:
ret_name = self.license_db[SCANCODE_KEYS_TAG][name]
ret_id = 'scancode_key'
Problem Currently x11 gets normalized to
ICU
This is the case since the
scancode_key
is automatically added as an alias and forICU
thescancode_key
isx11
.Solution In Python: do not look for the
scancode_key
when identifying the license in JSON license files: add relevantscancode_key
s to alias list (e.g. notx11
forICU
)