aboutsummaryrefslogtreecommitdiffstats
path: root/meta/classes/spdx.bbclass
diff options
context:
space:
mode:
authorMaxin B. John <maxin.john@intel.com>2015-11-05 17:48:18 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-11-24 15:49:25 +0000
commited484c06f436eea62c5d0b1a2964f219f3e5cb61 (patch)
treef62f4dd752df364a251f91014fdeb100d6f9d133 /meta/classes/spdx.bbclass
parentbf91547d887aee2893e26e6073e12c540222b422 (diff)
downloadopenembedded-core-contrib-ed484c06f436eea62c5d0b1a2964f219f3e5cb61.tar.gz
bbclass: fix spelling mistakes
Fix some spelling mistakes in bbclass files Signed-off-by: Maxin B. John <maxin.john@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/classes/spdx.bbclass')
-rw-r--r--meta/classes/spdx.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/spdx.bbclass b/meta/classes/spdx.bbclass
index 454c53e96f0..0c9276584c2 100644
--- a/meta/classes/spdx.bbclass
+++ b/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]