From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 2765659CAD for ; Thu, 31 Mar 2016 22:10:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 307ED21C005; Thu, 31 Mar 2016 22:10:23 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id CE37C21C005 for ; Thu, 31 Mar 2016 22:10:22 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3E7BD340D3B for ; Thu, 31 Mar 2016 22:10:21 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E93C486C for ; Thu, 31 Mar 2016 22:10:17 +0000 (UTC) From: "Paul Varner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Paul Varner" Message-ID: <1459461988.99bdbe3d832a3dabb7e9fb9c50cb9c4e1baf2f02.fuzzyray@gentoo> Subject: [gentoo-commits] proj/gentoolkit:master commit in: pym/gentoolkit/eshowkw/ X-VCS-Repository: proj/gentoolkit X-VCS-Files: pym/gentoolkit/eshowkw/__init__.py X-VCS-Directories: pym/gentoolkit/eshowkw/ X-VCS-Committer: fuzzyray X-VCS-Committer-Name: Paul Varner X-VCS-Revision: 99bdbe3d832a3dabb7e9fb9c50cb9c4e1baf2f02 X-VCS-Branch: master Date: Thu, 31 Mar 2016 22:10:17 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 12affa12-696b-434c-a008-970a60b4a86f X-Archives-Hash: 9c515ca2e0dd60877e2bef7b0bd70240 commit: 99bdbe3d832a3dabb7e9fb9c50cb9c4e1baf2f02 Author: Paul Varner gentoo org> AuthorDate: Thu Mar 31 22:06:28 2016 +0000 Commit: Paul Varner gentoo org> CommitDate: Thu Mar 31 22:06:28 2016 +0000 URL: https://gitweb.gentoo.org/proj/gentoolkit.git/commit/?id=99bdbe3d eshowkw: Imply prefix when specifing an arch This fixes bug 578496. When a user specifies and architecture, we should just display it regardless of its prefix status. pym/gentoolkit/eshowkw/__init__.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pym/gentoolkit/eshowkw/__init__.py b/pym/gentoolkit/eshowkw/__init__.py index d46a773..c00d7cb 100644 --- a/pym/gentoolkit/eshowkw/__init__.py +++ b/pym/gentoolkit/eshowkw/__init__.py @@ -100,6 +100,11 @@ def main(argv, indirect = False): if not color and not sys.stdout.isatty(): # disable colors porto.nocolor() + + # Imply prefix if user specified any architectures (Bug 578496) + if len(highlight_arch) > 0: + prefix = True + keywords = keywords_header(prefix, highlight_arch, order) if len(package) > 0: mysettings = portc(local_config=False)