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 d55cece commit 87ec73eCopy full SHA for 87ec73e
1 file changed
scapy/config.py
@@ -652,7 +652,10 @@ def load(self, extension: str):
652
return
653
654
# Check the classifiers
655
- if distr.metadata.get('License-Expression', None) not in self.GPLV2_LICENCES:
+ if (
656
+ distr.metadata.get('License-Expression', None) not in self.GPLV2_LICENCES
657
+ and distr.metadata.get('License', None) not in self.GPLV2_LICENCES
658
+ ):
659
log_loading.warning(
660
"'%s' has no GPLv2 classifier therefore cannot be loaded." % extension
661
)
0 commit comments