From 231f56f91774bbfa60a8bd8e64ef9266da681db3 Mon Sep 17 00:00:00 2001 From: fuzzyray Date: Thu, 17 Dec 2009 20:03:35 +0000 Subject: Fix equery --no-pipe to work correctly svn path=/trunk/gentoolkit/; revision=727 --- pym/gentoolkit/equery/__init__.py | 3 +-- 1 file changed, 1 insertion(+), 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) -- cgit v1.2.3