summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfuzzyray <fuzzyray@gentoo.org>2009-12-17 20:03:35 +0000
committerfuzzyray <fuzzyray@gentoo.org>2009-12-17 20:03:35 +0000
commit231f56f91774bbfa60a8bd8e64ef9266da681db3 (patch)
treecca951f8be5677608bc1eb296d50e6cf4f315aea
parent7c34007de0429263346a1ae8296763c930eae411 (diff)
downloadgentoolkit-231f56f91774bbfa60a8bd8e64ef9266da681db3.tar.gz
Fix equery --no-pipe to work correctly
svn path=/trunk/gentoolkit/; revision=727
-rw-r--r--pym/gentoolkit/equery/__init__.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/pym/gentoolkit/equery/__init__.py b/pym/gentoolkit/equery/__init__.py
index 07eb3dd..1d34a65 100644
--- a/pym/gentoolkit/equery/__init__.py
+++ b/pym/gentoolkit/equery/__init__.py
@@ -216,8 +216,6 @@ def initialize_configuration():
os.getenv("NOCOLOR") in ("yes", "true")) or CONFIG['color'] == 0):
pp.output.nocolor()
- CONFIG['verbose'] = not CONFIG['piping']
-
def main_usage():
"""Return the main usage message for equery"""
@@ -269,6 +267,7 @@ def parse_global_options(global_opts, args):
pp.output.nocolor()
elif opt in ('-N', '--no-pipe'):
CONFIG['piping'] = False
+ CONFIG['verbose'] = True
elif opt in ('-V', '--version'):
print_version()
sys.exit(0)