summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorPeter Kjellerstedt <peter.kjellerstedt@axis.com>2020-01-08 04:44:53 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-01-10 21:18:22 +0000
commitc4f462412f8ea0c82d2384684c6280e8f5efd2c1 (patch)
treeb18fc794197a9dd48777533e9bbc05be4efc315c /scripts
parent5501713b16549a908bf31940a14a4250a46b797d (diff)
downloadpoky-c4f462412f8ea0c82d2384684c6280e8f5efd2c1.tar.gz
oe-pkgdata-browser: Avoid an extra space for dependencies without version
(From OE-Core rev: aaa7eeb8e1a108ca3a180e8d2f26561b760ea3d7) Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/oe-pkgdata-browser4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/oe-pkgdata-browser b/scripts/oe-pkgdata-browser
index 57e56f66ee..75d889271b 100755
--- a/scripts/oe-pkgdata-browser
+++ b/scripts/oe-pkgdata-browser
@@ -217,9 +217,9 @@ class PkgUi():
217 l = [] 217 l = []
218 for name, version in bb.utils.explode_dep_versions2(data[field]).items(): 218 for name, version in bb.utils.explode_dep_versions2(data[field]).items():
219 if clickable: 219 if clickable:
220 l.append("<a href='package:{0}'>{0}</a> {1}".format(name, " ".join(version))) 220 l.append("<a href='package:{0}'>{0}</a> {1}".format(name, " ".join(version)).strip())
221 else: 221 else:
222 l.append("{0} {1}".format(name, " ".join(version))) 222 l.append("{0} {1}".format(name, " ".join(version)).strip())
223 label.set_markup(prefix + ", ".join(l)) 223 label.set_markup(prefix + ", ".join(l))
224 label.show() 224 label.show()
225 else: 225 else: