]> code.ossystems Code Review - openembedded-core.git/commitdiff
codeparser: fix spacing in diagnostic messages
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Tue, 11 Jan 2011 18:21:55 +0000 (19:21 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 12 Jan 2011 13:47:08 +0000 (13:47 +0000)
(Bitbake rev: 8c5555f5ed6d61db57de80d2820c8cec64a27239)

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake/lib/bb/codeparser.py

index 06409319e1a2bd0eec2b2fb80eb1d1da6a103fa4..bfffcacc3373c0e615ab540b7cf809484e9d8d84 100644 (file)
@@ -138,7 +138,7 @@ class PythonParser():
             except TypeError:
                 logger.debug(2, 'Failed to convert function and argument to source form')
             else:
-                logger.debug(1, "Warning: in call to '%s', argumen t'%s' is"
+                logger.debug(1, "Warning: in call to '%s', argument '%s' is "
                                 "not a literal", funcstr, argstr)
 
         def visit_Call(self, node):
@@ -326,7 +326,7 @@ class ShellParser():
 
                 cmd = word[1]
                 if cmd.startswith("$"):
-                    logger.debug(1, "Warning: execution of non-literal"
+                    logger.debug(1, "Warning: execution of non-literal "
                                     "command '%s'", cmd)
                 elif cmd == "eval":
                     command = " ".join(word for _, word in words[1:])