add CONFIG['termWidth'] setting to the no-pipe option to effectively turn off textwra...
authordol-sen <brian.dolbec@gmail.com>
Mon, 16 May 2011 16:40:18 +0000 (09:40 -0700)
committerdol-sen <brian.dolbec@gmail.com>
Mon, 16 May 2011 16:40:18 +0000 (09:40 -0700)
This fixes issues with scripts parsing output.

pym/gentoolkit/equery/__init__.py

index e25ec544e9ece4fb7acad7497833990a3d8956ec..0d24222645d8f4d42f17c9b0a3b0626a512ddf76 100644 (file)
@@ -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)