[bitbake-devel] [PATCH] siggen: Correct format argument substitution
Mike Crowe
mac at mcrowe.com
Mon Nov 5 14:29:05 UTC 2018
Use % operator to ensure that the dependency is substituted into the error
message correctly.
Signed-off-by: Mike Crowe <mac at mcrowe.com>
---
lib/bb/siggen.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/bb/siggen.py b/lib/bb/siggen.py
index 03c824ec..c619b596 100644
--- a/lib/bb/siggen.py
+++ b/lib/bb/siggen.py
@@ -185,7 +185,7 @@ class SignatureGeneratorBasic(SignatureGenerator):
if not self.rundep_check(fn, recipename, task, dep, depname, dataCache):
continue
if dep not in self.taskhash:
- bb.fatal("%s is not in taskhash, caller isn't calling in dependency order?", dep)
+ bb.fatal("%s is not in taskhash, caller isn't calling in dependency order?" % dep)
data = data + self.taskhash[dep]
self.runtaskdeps[k].append(dep)
--
2.11.0
More information about the bitbake-devel
mailing list