[oe-commits] [bitbake] 01/12: cooker: Fix log message syntax

git at git.openembedded.org git at git.openembedded.org
Thu May 12 10:05:57 UTC 2016


rpurdie pushed a commit to branch master-next
in repository bitbake.

commit 7ed82bd1fe7bdd93b0614119c42eb218dc5d83e6
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
AuthorDate: Thu May 12 08:01:23 2016 +0100

    cooker: Fix log message syntax
    
    Ensure we pass the string parameter correctly.
    
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 lib/bb/cooker.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/bb/cooker.py b/lib/bb/cooker.py
index b2187d7..fe6fc99 100644
--- a/lib/bb/cooker.py
+++ b/lib/bb/cooker.py
@@ -2161,7 +2161,7 @@ class CookerParser(object):
             self.error += 1
             etype, value, tb = sys.exc_info()
             if hasattr(value, "recipe"):
-                logger.error('Unable to parse %s', value.recipe,
+                logger.error('Unable to parse %s' % value.recipe,
                             exc_info=(etype, value, exc.traceback))
             else:
                 # Most likely, an exception occurred during raising an exception

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list