diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-05-12 08:01:23 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-05-12 11:02:42 +0100 |
commit | 7ed82bd1fe7bdd93b0614119c42eb218dc5d83e6 (patch) | |
tree | b440ee03efd2b80703f95b6f7a90a46486fcc4e3 /lib | |
parent | 8902c29638411d312e6fc4a197707e5742652e15 (diff) | |
download | bitbake-7ed82bd1fe7bdd93b0614119c42eb218dc5d83e6.tar.gz |
cooker: Fix log message syntax
Ensure we pass the string parameter correctly.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/bb/cooker.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bb/cooker.py b/lib/bb/cooker.py index b2187d7d5..fe6fc99c1 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 |