From: fuzzyray Date: Thu, 17 Dec 2009 20:03:35 +0000 (-0000) Subject: Fix equery --no-pipe to work correctly X-Git-Tag: gentoolkit-0.3.0_rc10~26 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=231f56f91774bbfa60a8bd8e64ef9266da681db3;p=gentoolkit.git Fix equery --no-pipe to work correctly svn path=/trunk/gentoolkit/; revision=727 --- 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)