]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
cooker: Fix log message syntax
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 12 May 2016 07:01:23 +0000 (08:01 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 12 May 2016 10:02:42 +0000 (11:02 +0100)
Ensure we pass the string parameter correctly.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
lib/bb/cooker.py

index b2187d7d5ff42afdf0f0b4d6d09a2b75ea318999..fe6fc99c1fbf8e69c942aeffcd7ef0c2ff3ada99 100644 (file)
@@ -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