Openembedded Core Discussions
 help / color / mirror / Atom feed
* image.bbclass: Fix a couple innocuous typoes, should cause no functional change
@ 2012-07-26 20:55 Robert P. J. Day
  2012-07-29  9:31 ` Richard Purdie
  0 siblings, 1 reply; 2+ messages in thread
From: Robert P. J. Day @ 2012-07-26 20:55 UTC (permalink / raw)
  To: OE Core mailing list


"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>

---

diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass
index 1799bf1..0a380f1 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

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: image.bbclass: Fix a couple innocuous typoes, should cause no functional change
  2012-07-26 20:55 image.bbclass: Fix a couple innocuous typoes, should cause no functional change Robert P. J. Day
@ 2012-07-29  9:31 ` Richard Purdie
  0 siblings, 0 replies; 2+ messages in thread
From: Richard Purdie @ 2012-07-29  9:31 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

On Thu, 2012-07-26 at 16:55 -0400, Robert P. J. Day wrote:
> "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>


Merged to master, thanks.

Richard




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-07-29  9:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-26 20:55 image.bbclass: Fix a couple innocuous typoes, should cause no functional change Robert P. J. Day
2012-07-29  9:31 ` Richard Purdie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox