diff options
Diffstat (limited to 'yocto-poky/meta/classes/spdx.bbclass')
-rw-r--r-- | yocto-poky/meta/classes/spdx.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/yocto-poky/meta/classes/spdx.bbclass b/yocto-poky/meta/classes/spdx.bbclass index 454c53e96..0c9276584 100644 --- a/yocto-poky/meta/classes/spdx.bbclass +++ b/yocto-poky/meta/classes/spdx.bbclass @@ -232,7 +232,7 @@ def run_fossology(foss_command, full_spdx): # Package info package_info = {} if full_spdx: - # All mandatory, only one occurance + # All mandatory, only one occurrence package_info['PackageCopyrightText'] = re.findall('PackageCopyrightText: (.*?</text>)', foss_output, re.S)[0] package_info['PackageLicenseDeclared'] = re.findall('PackageLicenseDeclared: (.*)', foss_output)[0] package_info['PackageLicenseConcluded'] = re.findall('PackageLicenseConcluded: (.*)', foss_output)[0] |