From: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
To: openembedded-core@lists.openembedded.org,
Ross Burton <ross.burton@intel.com>
Subject: [PATCH 5/7] oe-pkgdata-browser: Avoid an extra space for dependencies without version
Date: Wed, 8 Jan 2020 04:44:53 +0100 [thread overview]
Message-ID: <20200108034455.10101-5-pkj@axis.com> (raw)
In-Reply-To: <20200108034455.10101-1-pkj@axis.com>
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
---
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 57e56f66ee..75d889271b 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:
--
2.21.1
next prev parent reply other threads:[~2020-01-08 3:45 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-01-08 3:44 [PATCH 1/7] oe-pkgdata-browser: Rename from pkgdataui.py Peter Kjellerstedt
2020-01-08 3:44 ` [PATCH 2/7] oe-pkgdata-browser: Clean the package view properly Peter Kjellerstedt
2020-01-08 3:44 ` [PATCH 3/7] oe-pkgdata-browser: Correct the prefix for kilo to "k" Peter Kjellerstedt
2020-01-08 3:44 ` [PATCH 4/7] oe-pkgdata-browser: Show file sizes in a human readable format Peter Kjellerstedt
2020-01-08 3:44 ` Peter Kjellerstedt [this message]
2020-01-08 3:44 ` [PATCH 6/7] oe-pkgdata-browser: Select a matching package when a recipe is selected Peter Kjellerstedt
2020-01-08 3:44 ` [PATCH 7/7] oe-pkgdata-browser: Make the window 1200x900 by default Peter Kjellerstedt
2020-01-08 14:11 ` [PATCH 1/7] oe-pkgdata-browser: Rename from pkgdataui.py Ross Burton
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200108034455.10101-5-pkj@axis.com \
--to=peter.kjellerstedt@axis.com \
--cc=openembedded-core@lists.openembedded.org \
--cc=ross.burton@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.