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 1cc7ba7 commit 2ca95beCopy full SHA for 2ca95be
exasol/toolbox/util/dependencies/licenses.py
@@ -71,10 +71,11 @@ def select_most_restrictive(licenses: list[str]) -> str:
71
"GPLv3": 6,
72
}
73
for l in licenses:
74
- if l not in _mapping:
+ if l in _mapping:
75
+ if _mapping[l] > _mapping[lic]:
76
+ lic = l
77
+ else:
78
return "<br>".join(licenses)
- if _mapping[l] > _mapping[lic]:
- lic = l
79
return lic
80
81
if is_multi_license(_license):
0 commit comments