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-13 13:41:32 +0100 |
commit | 7c0a219d29cb7b4ee87e297b2678d955cfdcaa2e (patch) | |
tree | ba757f85c9e58e28d370e41f8126c3980f8b7db1 | |
parent | a0db1211caf364ec69502b82e583e074431d642a (diff) | |
download | poky-7c0a219d29cb7b4ee87e297b2678d955cfdcaa2e.tar.gz |
bitbake: cooker: Fix log message syntax
Ensure we pass the string parameter correctly.
(Bitbake rev: 7ed82bd1fe7bdd93b0614119c42eb218dc5d83e6)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | bitbake/lib/bb/cooker.py | 2 |
1 files changed, 1 insertions, 1 deletions
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): | |||
2161 | self.error += 1 | 2161 | self.error += 1 |
2162 | etype, value, tb = sys.exc_info() | 2162 | etype, value, tb = sys.exc_info() |
2163 | if hasattr(value, "recipe"): | 2163 | if hasattr(value, "recipe"): |
2164 | logger.error('Unable to parse %s', value.recipe, | 2164 | logger.error('Unable to parse %s' % value.recipe, |
2165 | exc_info=(etype, value, exc.traceback)) | 2165 | exc_info=(etype, value, exc.traceback)) |
2166 | else: | 2166 | else: |
2167 | # Most likely, an exception occurred during raising an exception | 2167 | # Most likely, an exception occurred during raising an exception |