From: dol-sen <brian.dolbec@gmail.com> Date: Mon, 16 May 2011 16:40:18 +0000 (-0700) Subject: add CONFIG['termWidth'] setting to the no-pipe option to effectively turn off textwra... X-Git-Tag: gentoolkit-0.3.0.3~1 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b366d0b32de20ede0581678123d33a0c044175c9;p=gentoolkit.git add CONFIG['termWidth'] setting to the no-pipe option to effectively turn off textwraping. This fixes issues with scripts parsing output. --- diff --git a/pym/gentoolkit/equery/__init__.py b/pym/gentoolkit/equery/__init__.py index e25ec54..0d24222 100644 --- a/pym/gentoolkit/equery/__init__.py +++ b/pym/gentoolkit/equery/__init__.py @@ -275,6 +275,7 @@ 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)