diff options
author | scarabeus <scarabeus@gentoo.org> | 2010-10-28 21:39:18 +0000 |
---|---|---|
committer | scarabeus <scarabeus@gentoo.org> | 2010-10-28 21:39:18 +0000 |
commit | ddb71ad99ddf114adf42862bb444526eca86c722 (patch) | |
tree | 5d1c08f9aea0d212be8e7c67f28171fef5734951 /pym/gentoolkit/eshowkw | |
parent | Fix import path again. Process only proper passed args in required function. (diff) | |
download | gentoolkit-ddb71ad99ddf114adf42862bb444526eca86c722.tar.gz gentoolkit-ddb71ad99ddf114adf42862bb444526eca86c722.tar.bz2 gentoolkit-ddb71ad99ddf114adf42862bb444526eca86c722.zip |
Add encoding informations.
svn path=/trunk/gentoolkit/; revision=839
Diffstat (limited to 'pym/gentoolkit/eshowkw')
-rw-r--r-- | pym/gentoolkit/eshowkw/__init__.py | 7 | ||||
-rw-r--r-- | pym/gentoolkit/eshowkw/display_pretty.py | 1 | ||||
-rw-r--r-- | pym/gentoolkit/eshowkw/keywords_content.py | 1 | ||||
-rw-r--r-- | pym/gentoolkit/eshowkw/keywords_header.py | 1 |
4 files changed, 5 insertions, 5 deletions
diff --git a/pym/gentoolkit/eshowkw/__init__.py b/pym/gentoolkit/eshowkw/__init__.py index a6f1ff4..3e3572e 100644 --- a/pym/gentoolkit/eshowkw/__init__.py +++ b/pym/gentoolkit/eshowkw/__init__.py @@ -1,3 +1,4 @@ +# vim:fileencoding=utf-8 # Copyright 2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 @@ -79,10 +80,6 @@ def process_args(argv): def main(argv): global ignore_slots, bold, order, topper - # equery support - if argv[0] = 'equery': - pkgsearch_only = True - #opts parsing opts = process_args(argv) ignore_slots = opts.ignore_slot @@ -99,7 +96,7 @@ def main(argv): package = opts.package # equery support - if pkgsearch_only and len(package) <= 0: + if argv[0] == 'equery' and len(package) <= 0: msg_err = 'No packages specified' raise SystemExit(msg_err) diff --git a/pym/gentoolkit/eshowkw/display_pretty.py b/pym/gentoolkit/eshowkw/display_pretty.py index b29fba1..f3c52ff 100644 --- a/pym/gentoolkit/eshowkw/display_pretty.py +++ b/pym/gentoolkit/eshowkw/display_pretty.py @@ -1,3 +1,4 @@ +# vim:fileencoding=utf-8 # Copyright 2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 diff --git a/pym/gentoolkit/eshowkw/keywords_content.py b/pym/gentoolkit/eshowkw/keywords_content.py index 08a728d..7f82026 100644 --- a/pym/gentoolkit/eshowkw/keywords_content.py +++ b/pym/gentoolkit/eshowkw/keywords_content.py @@ -1,3 +1,4 @@ +# vim:fileencoding=utf-8 # Copyright 2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 diff --git a/pym/gentoolkit/eshowkw/keywords_header.py b/pym/gentoolkit/eshowkw/keywords_header.py index 53105ae..1d52749 100644 --- a/pym/gentoolkit/eshowkw/keywords_header.py +++ b/pym/gentoolkit/eshowkw/keywords_header.py @@ -1,3 +1,4 @@ +# vim:fileencoding=utf-8 # Copyright 2001-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 |