summaryrefslogtreecommitdiffstats
path: root/meta/classes/base.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/base.bbclass')
-rw-r--r--meta/classes/base.bbclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass
index 20968a5076..cc02de5f77 100644
--- a/meta/classes/base.bbclass
+++ b/meta/classes/base.bbclass
@@ -594,9 +594,9 @@ python () {
594 594
595 for lic_exception in exceptions: 595 for lic_exception in exceptions:
596 if ":" in lic_exception: 596 if ":" in lic_exception:
597 lic_exception.split(":")[0] 597 lic_exception = lic_exception.split(":")[1]
598 if lic_exception in oe.license.obsolete_license_list(): 598 if lic_exception in oe.license.obsolete_license_list():
599 bb.fatal("Invalid license %s used in INCOMPATIBLE_LICENSE_EXCEPTIONS" % lic_exception) 599 bb.fatal("Obsolete license %s used in INCOMPATIBLE_LICENSE_EXCEPTIONS" % lic_exception)
600 600
601 pkgs = d.getVar('PACKAGES').split() 601 pkgs = d.getVar('PACKAGES').split()
602 skipped_pkgs = {} 602 skipped_pkgs = {}