diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2011-10-11 16:25:29 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-10-11 14:11:30 +0100 |
commit | be9ee810bd00b74770b659fdc7da19c2166debee (patch) | |
tree | 15329b9c94e92778872467db94e154fc73dbdddd /bitbake/lib/bb | |
parent | 0c05d53fbede6feed6e9d361cb631a364f045a0f (diff) | |
download | poky-be9ee810bd00b74770b659fdc7da19c2166debee.tar.gz |
Fix typos in local.conf.sample and local.conf.sample.extended
Fixes bug [YOCTO #1667]
Fix typos in local.conf.sample and local.conf.sample.extended:
differernt -> different
chages -> changes
complation -> compilation
egde -> edge
"an an" -> "as an"
images's -> image's
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb')
-rw-r--r-- | bitbake/lib/bb/__init__.py | 2 | ||||
-rw-r--r-- | bitbake/lib/bb/parse/parse_py/BBHandler.py | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/bitbake/lib/bb/__init__.py b/bitbake/lib/bb/__init__.py index 3c8572476c..4981daa420 100644 --- a/bitbake/lib/bb/__init__.py +++ b/bitbake/lib/bb/__init__.py | |||
@@ -67,7 +67,7 @@ if "BBDEBUG" in os.environ: | |||
67 | if level: | 67 | if level: |
68 | bb.msg.set_debug_level(level) | 68 | bb.msg.set_debug_level(level) |
69 | 69 | ||
70 | if True or os.environ.get("BBFETCH2"): | 70 | if os.environ.get("BBFETCH2"): |
71 | from bb import fetch2 as fetch | 71 | from bb import fetch2 as fetch |
72 | sys.modules['bb.fetch'] = sys.modules['bb.fetch2'] | 72 | sys.modules['bb.fetch'] = sys.modules['bb.fetch2'] |
73 | 73 | ||
diff --git a/bitbake/lib/bb/parse/parse_py/BBHandler.py b/bitbake/lib/bb/parse/parse_py/BBHandler.py index c59b468e0b..851a7e6698 100644 --- a/bitbake/lib/bb/parse/parse_py/BBHandler.py +++ b/bitbake/lib/bb/parse/parse_py/BBHandler.py | |||
@@ -193,7 +193,6 @@ def feeder(lineno, s, fn, root, statements): | |||
193 | if lineno == IN_PYTHON_EOF: | 193 | if lineno == IN_PYTHON_EOF: |
194 | return | 194 | return |
195 | 195 | ||
196 | |||
197 | if s and s[0] == '#': | 196 | if s and s[0] == '#': |
198 | if len(__residue__) != 0 and __residue__[0][0] != "#": | 197 | if len(__residue__) != 0 and __residue__[0][0] != "#": |
199 | bb.error("There is a comment on line %s of file %s (%s) which is in the middle of a multiline expression.\nBitbake used to ignore these but no longer does so, please fix your metadata as errors are likely as a result of this change." % (lineno, fn, s)) | 198 | bb.error("There is a comment on line %s of file %s (%s) which is in the middle of a multiline expression.\nBitbake used to ignore these but no longer does so, please fix your metadata as errors are likely as a result of this change." % (lineno, fn, s)) |