summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/codeparser.py
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2011-01-11 19:21:55 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-01-12 13:47:08 +0000
commitc405a3a13eb961365adb788e710fa26513605543 (patch)
tree8fa67821962dafb517507c8f9232060b59b6a1a7 /bitbake/lib/bb/codeparser.py
parent3f08b7f1eadc8d181c76339d14c7abb4f49cad57 (diff)
downloadpoky-c405a3a13eb961365adb788e710fa26513605543.tar.gz
codeparser: fix spacing in diagnostic messages
(Bitbake rev: 8c5555f5ed6d61db57de80d2820c8cec64a27239) Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/codeparser.py')
-rw-r--r--bitbake/lib/bb/codeparser.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bb/codeparser.py b/bitbake/lib/bb/codeparser.py
index 06409319e1..bfffcacc33 100644
--- a/bitbake/lib/bb/codeparser.py
+++ b/bitbake/lib/bb/codeparser.py
@@ -138,7 +138,7 @@ class PythonParser():
138 except TypeError: 138 except TypeError:
139 logger.debug(2, 'Failed to convert function and argument to source form') 139 logger.debug(2, 'Failed to convert function and argument to source form')
140 else: 140 else:
141 logger.debug(1, "Warning: in call to '%s', argumen t'%s' is" 141 logger.debug(1, "Warning: in call to '%s', argument '%s' is "
142 "not a literal", funcstr, argstr) 142 "not a literal", funcstr, argstr)
143 143
144 def visit_Call(self, node): 144 def visit_Call(self, node):
@@ -326,7 +326,7 @@ class ShellParser():
326 326
327 cmd = word[1] 327 cmd = word[1]
328 if cmd.startswith("$"): 328 if cmd.startswith("$"):
329 logger.debug(1, "Warning: execution of non-literal" 329 logger.debug(1, "Warning: execution of non-literal "
330 "command '%s'", cmd) 330 "command '%s'", cmd)
331 elif cmd == "eval": 331 elif cmd == "eval":
332 command = " ".join(word for _, word in words[1:]) 332 command = " ".join(word for _, word in words[1:])