[oe-commits] [bitbake] 02/08: cooker: Fix log message syntax
git at git.openembedded.org
git at git.openembedded.org
Thu May 12 09:50:53 UTC 2016
rpurdie pushed a commit to branch python3
in repository bitbake.
commit b935ed0047653410f763e28817b76b1f127c7b6b
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