From b366d0b32de20ede0581678123d33a0c044175c9 Mon Sep 17 00:00:00 2001 From: dol-sen Date: Mon, 16 May 2011 09:40:18 -0700 Subject: [PATCH] add CONFIG['termWidth'] setting to the no-pipe option to effectively turn off textwraping. This fixes issues with scripts parsing output. --- pym/gentoolkit/equery/__init__.py | 1 + 1 file changed, 1 insertion(+) 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) -- 2.26.2