Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
scancode: filter license from pip pkg classifiers
When scancode detects python package licenses it attaches the license classifiers to the declared_license dictionary, if applicable. This is a problem when Tern tries to report the package license by adding it to a set of licenses in get_package_licenses(), as dictionary objects cannot be added to sets. This commit filters out the declared license string from declared license dictionary containing the classifier values in order to fix this issue. Resolves tern-tools#964 Signed-off-by: Rose Judge <rjudge@vmware.com>
- Loading branch information