siggen: Correct format argument substitution
PATCH 1/1 siggen: Correct format argument substitution
Use % operator to ensure that the dependency is substituted into the error message correctly.
Signed-off-by Mike Crowe <[email protected]>
--- lib/bb/siggen.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
lib/bb/siggen.py +1 -1
@@ -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)
Signature · 1 line
2.11.0