Openembedded Bitbake Development
 help / color / mirror / Atom feed
* [PATCH] cooker: Fix log message syntax
@ 2016-05-12  9:54 Richard Purdie
  0 siblings, 0 replies; only message in thread
From: Richard Purdie @ 2016-05-12  9:54 UTC (permalink / raw)
  To: bitbake-devel

Ensure we pass the string parameter correctly.

Signed-off-by: Richard Purdie <richard.purdie@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



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2016-05-12  9:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-12  9:54 [PATCH] cooker: Fix log message syntax Richard Purdie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox