[gnome-continuous-yocto/gnomeostree-3.28-rocko: 255/8267] bitbake: cooker: Fix log message syntax
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-continuous-yocto/gnomeostree-3.28-rocko: 255/8267] bitbake: cooker: Fix log message syntax
- Date: Sat, 16 Dec 2017 20:10:14 +0000 (UTC)
commit 7c0a219d29cb7b4ee87e297b2678d955cfdcaa2e
Author: Richard Purdie <richard purdie linuxfoundation org>
Date: Thu May 12 08:01:23 2016 +0100
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>
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 b2187d7..fe6fc99 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]