diff options
author | Robert P. J. Day <rpjday@crashcourse.ca> | 2012-07-26 16:55:43 -0400 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-07-27 14:07:23 +0100 |
commit | cc1f824778c023686b4ea75c64a182a138ff2267 (patch) | |
tree | 20cc57f1c23e414ccf04932793ce9fd22a5f4133 /meta/classes | |
parent | 352522d474cb75992d7865545b6fbe4e157a5f99 (diff) | |
download | openembedded-core-cc1f824778c023686b4ea75c64a182a138ff2267.tar.gz openembedded-core-cc1f824778c023686b4ea75c64a182a138ff2267.tar.bz2 openembedded-core-cc1f824778c023686b4ea75c64a182a138ff2267.zip |
image.bbclass: Fix a couple innocuous typoes, should cause no functional change
"error_promt" -> "error_prompt" changed in both places
"subfolers" -> "subfolders" since it's not referenced anyway
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/image.bbclass | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass index 1799bf1865..0a380f1172 100644 --- a/meta/classes/image.bbclass +++ b/meta/classes/image.bbclass @@ -266,12 +266,12 @@ import sys, os, os.path import re,filecmp allow_rep=re.compile(re.sub("\|$","","${MULTILIBRE_ALLOW_REP}")) -error_promt="Multilib check error:" +error_prompt="Multilib check error:" files={} dirs=raw_input() for dir in dirs.split(): - for root, subfolers, subfiles in os.walk(dir): + for root, subfolders, subfiles in os.walk(dir): for file in subfiles: item=os.path.join(root,file) key=str(os.path.join("/",os.path.relpath(item,dir))) @@ -284,7 +284,7 @@ for dir in dirs.split(): else: if not filecmp.cmp(files[key],item): valid=False - print("%s duplicate files %s %s is not the same\n" % (error_promt, item, files[key])) + print("%s duplicate files %s %s is not the same\n" % (error_prompt, item, files[key])) sys.exit(1) #pass the check, add to list |