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

git at git.openembedded.org git at git.openembedded.org
Thu May 12 08:41:25 UTC 2016


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

commit e2b147bf9707dc211ebefc38839c8d809d33d841
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 ca1f84c..151664c 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