From 7c0a219d29cb7b4ee87e297b2678d955cfdcaa2e Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Thu, 12 May 2016 08:01:23 +0100 Subject: bitbake: cooker: Fix log message syntax Ensure we pass the string parameter correctly. (Bitbake rev: 7ed82bd1fe7bdd93b0614119c42eb218dc5d83e6) Signed-off-by: Richard Purdie --- bitbake/lib/bb/cooker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py index b2187d7d5f..fe6fc99c1f 100644 --- a/bitbake/lib/bb/cooker.py +++ b/bitbake/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 -- cgit v1.2.3-54-g00ecf