fedora-helper: Fixup comment

Signed-off-by: Igor Raits <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Raits 2020-05-30 18:58:12 +02:00
parent 8fee5adf47
commit b09a48a0c1
No known key found for this signature in database
GPG key ID: 115D5AB89C5C1E1E

View file

@ -168,7 +168,7 @@ def get_binary_license(ctx, source, add, verbose):
): ):
continue continue
licenses[p.lookup_str(solv.SOLVABLE_LICENSE)].add(p) licenses[p.lookup_str(solv.SOLVABLE_LICENSE)].add(p)
# XXX: This is pure hack and we should optimize license license in much better way # XXX: This is pure hack and we should optimize license set in much better way
if "MIT or ASL 2.0" in licenses and "ASL 2.0 or MIT" in licenses: if "MIT or ASL 2.0" in licenses and "ASL 2.0 or MIT" in licenses:
licenses["MIT or ASL 2.0"].update(licenses.pop("ASL 2.0 or MIT")) licenses["MIT or ASL 2.0"].update(licenses.pop("ASL 2.0 or MIT"))