aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordol-sen <brian.dolbec@gmail.com>2011-05-16 17:36:49 -0700
committerdol-sen <brian.dolbec@gmail.com>2011-05-16 17:36:49 -0700
commitc751af5aeaaeb90ea6117037827da0bf5457a4c6 (patch)
tree9c7848bde7a54b2888df1905bac31db2265dad62 /pym/gentoolkit/equery/__init__.py
parentadd CONFIG['termWidth'] setting to the no-pipe option to effectively turn off... (diff)
downloadgentoolkit-c751af5aeaaeb90ea6117037827da0bf5457a4c6.tar.gz
gentoolkit-c751af5aeaaeb90ea6117037827da0bf5457a4c6.tar.bz2
gentoolkit-c751af5aeaaeb90ea6117037827da0bf5457a4c6.zip
found a better spot to set piping wrap width so as to disable for all piping regardless of the --no-pipe option which would turn off setting 'quiet' on.gentoolkit-0.3.0.3
Signed-off-by: dol-sen <brian.dolbec@gmail.com>
Diffstat (limited to 'pym/gentoolkit/equery/__init__.py')
-rw-r--r--pym/gentoolkit/equery/__init__.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/pym/gentoolkit/equery/__init__.py b/pym/gentoolkit/equery/__init__.py
index 0d24222..b362bca 100644
--- a/pym/gentoolkit/equery/__init__.py
+++ b/pym/gentoolkit/equery/__init__.py
@@ -221,6 +221,9 @@ def initialize_configuration():
if CONFIG['piping']:
CONFIG['verbose'] = False
+ # set extra wide, should disable wrapping unless
+ # there is some extra long text
+ CONFIG['termWidth'] = 600
CONFIG['debug'] = bool(os.getenv('DEBUG', False))
@@ -275,7 +278,6 @@ def parse_global_options(global_opts, args):
pp.output.nocolor()
elif opt in ('-N', '--no-pipe'):
CONFIG['piping'] = False
- CONFIG['termWidth'] = 400
elif opt in ('-V', '--version'):
print_version()
sys.exit(0)