diff options
| author | Paul Varner <fuzzyray@gentoo.org> | 2016-04-06 12:21:32 -0500 |
|---|---|---|
| committer | Paul Varner <fuzzyray@gentoo.org> | 2016-04-06 12:21:32 -0500 |
| commit | e4dda3ef193b109f30051f5a116158dfe23922bb (patch) | |
| tree | 4b34f1bc91007ba8118bbee099654aef422cf9ce /pym | |
| parent | 99bdbe3d832a3dabb7e9fb9c50cb9c4e1baf2f02 (diff) | |
| download | gentoolkit-e4dda3ef193b109f30051f5a116158dfe23922bb.tar.gz | |
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.
Diffstat (limited to 'pym')
| -rw-r--r-- | pym/gentoolkit/eshowkw/__init__.py | 2 |
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) |
