summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIsmo Puustinen <ismo.puustinen@intel.com>2016-11-30 14:43:19 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-12-07 10:41:20 +0000
commit3c82af11b89cf251c3e56725a1eed2d3f4bd835b (patch)
tree87b136d08b0f49b896bf99109b25d21fd1c78694
parentf065ac17d0031dca6309ddbff18c8792630de865 (diff)
downloadbitbake-contrib-3c82af11b89cf251c3e56725a1eed2d3f4bd835b.tar.gz
depexp: fix string formatting.
The parameters to Python string formatting need to be inside a tuple. Signed-off-by: Ismo Puustinen <ismo.puustinen@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--lib/bb/ui/depexp.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bb/ui/depexp.py b/lib/bb/ui/depexp.py
index d879e04c0..9630646ab 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: