summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Varner <fuzzyray@gentoo.org>2016-04-06 12:21:32 -0500
committerPaul Varner <fuzzyray@gentoo.org>2016-04-06 12:21:32 -0500
commite4dda3ef193b109f30051f5a116158dfe23922bb (patch)
tree4b34f1bc91007ba8118bbee099654aef422cf9ce
parenteshowkw: Imply prefix when specifing an arch (diff)
downloadgentoolkit-e4dda3ef193b109f30051f5a116158dfe23922bb.tar.gz
gentoolkit-e4dda3ef193b109f30051f5a116158dfe23922bb.tar.bz2
gentoolkit-e4dda3ef193b109f30051f5a116158dfe23922bb.zip
eshowkw: Fix previous commit to not always turn on prefix
Mistakenly was checking highlight_arch instead of opts.arch to see if any architectures were specified. This had the effect of always enabling the prefix architectures.
-rw-r--r--pym/gentoolkit/eshowkw/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/gentoolkit/eshowkw/__init__.py b/pym/gentoolkit/eshowkw/__init__.py
index c00d7cb..ded166d 100644
--- a/pym/gentoolkit/eshowkw/__init__.py
+++ b/pym/gentoolkit/eshowkw/__init__.py
@@ -102,7 +102,7 @@ def main(argv, indirect = False):
porto.nocolor()
# Imply prefix if user specified any architectures (Bug 578496)
- if len(highlight_arch) > 0:
+ if len(opts.arch) > 0:
prefix = True
keywords = keywords_header(prefix, highlight_arch, order)