[oe-commits] [openembedded-core] 22/48: oe-pkgdata-browser: Avoid an extra space for dependencies without version
git at git.openembedded.org
git at git.openembedded.org
Thu Jan 9 21:39:35 UTC 2020
This is an automated email from the git hooks/post-receive script.
rpurdie pushed a commit to branch master-next
in repository openembedded-core.
commit 76bd0b0c6dd650408877633636bcf86f65334932
Author: Peter Kjellerstedt <peter.kjellerstedt at axis.com>
AuthorDate: Wed Jan 8 04:44:53 2020 +0100
oe-pkgdata-browser: Avoid an extra space for dependencies without version
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt at axis.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
scripts/oe-pkgdata-browser | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/scripts/oe-pkgdata-browser b/scripts/oe-pkgdata-browser
index 57e56f6..75d8892 100755
--- a/scripts/oe-pkgdata-browser
+++ b/scripts/oe-pkgdata-browser
@@ -217,9 +217,9 @@ class PkgUi():
l = []
for name, version in bb.utils.explode_dep_versions2(data[field]).items():
if clickable:
- l.append("<a href='package:{0}'>{0}</a> {1}".format(name, " ".join(version)))
+ l.append("<a href='package:{0}'>{0}</a> {1}".format(name, " ".join(version)).strip())
else:
- l.append("{0} {1}".format(name, " ".join(version)))
+ l.append("{0} {1}".format(name, " ".join(version)).strip())
label.set_markup(prefix + ", ".join(l))
label.show()
else:
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list