[bitbake-devel] [PATCH] cooker: Fix log message syntax
Richard Purdie
richard.purdie at linuxfoundation.org
Thu May 12 09:54:53 UTC 2016
Ensure we pass the string parameter correctly.
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
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
More information about the bitbake-devel
mailing list