[oe-commits] [bitbake] branch master-next updated: siggen: Correct format argument substitution

git at git.openembedded.org git at git.openembedded.org
Mon Nov 5 23:39:27 UTC 2018


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository bitbake.

The following commit(s) were added to refs/heads/master-next by this push:
     new 8e58738  siggen: Correct format argument substitution
8e58738 is described below

commit 8e587386b0b3a0ed11edf71dfbe9fb508f60d0b3
Author: Mike Crowe <mac at mcrowe.com>
AuthorDate: Mon Nov 5 14:29:05 2018 +0000

    siggen: Correct format argument substitution
    
    Use % operator to ensure that the dependency is substituted into the error
    message correctly.
    
    Signed-off-by: Mike Crowe <mac at mcrowe.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 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 03c824e..c619b59 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)
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list