[oe-commits] [bitbake] 05/08: depexp: fix string formatting.

git at git.openembedded.org git at git.openembedded.org
Wed Dec 7 10:44:23 UTC 2016


rpurdie pushed a commit to branch master
in repository bitbake.

commit 3c82af11b89cf251c3e56725a1eed2d3f4bd835b
Author: Ismo Puustinen <ismo.puustinen at intel.com>
AuthorDate: Wed Nov 30 14:43:19 2016 +0200

    depexp: fix string formatting.
    
    The parameters to Python string formatting need to be inside a tuple.
    
    Signed-off-by: Ismo Puustinen <ismo.puustinen at intel.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 lib/bb/ui/depexp.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/bb/ui/depexp.py b/lib/bb/ui/depexp.py
index d879e04..9630646 100644
--- a/lib/bb/ui/depexp.py
+++ b/lib/bb/ui/depexp.py
@@ -313,7 +313,7 @@ def main(server, eventHandler, params):
                         extra = ". Close matches:\n  %s" % '\n  '.join(event._close_matches)
 
                 if event._dependees:
-                    print("Nothing %sPROVIDES '%s' (but %s %sDEPENDS on or otherwise requires it)%s" % r, event._item, ", ".join(event._dependees), r, extra)
+                    print("Nothing %sPROVIDES '%s' (but %s %sDEPENDS on or otherwise requires it)%s" % (r, event._item, ", ".join(event._dependees), r, extra))
                 else:
                     print("Nothing %sPROVIDES '%s'%s" % (r, event._item, extra))
                 if event._reasons:

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


More information about the Openembedded-commits mailing list