diff options
author | dol-sen <brian.dolbec@gmail.com> | 2011-05-16 09:40:18 -0700 |
---|---|---|
committer | dol-sen <brian.dolbec@gmail.com> | 2011-05-16 09:40:18 -0700 |
commit | b366d0b32de20ede0581678123d33a0c044175c9 (patch) | |
tree | 087b159a977382580e8026027f35de9b729b3402 /pym/gentoolkit/equery/__init__.py | |
parent | fix py3 compatibility issues in eshowkw. (diff) | |
download | gentoolkit-b366d0b32de20ede0581678123d33a0c044175c9.tar.gz gentoolkit-b366d0b32de20ede0581678123d33a0c044175c9.tar.bz2 gentoolkit-b366d0b32de20ede0581678123d33a0c044175c9.zip |
add CONFIG['termWidth'] setting to the no-pipe option to effectively turn off textwraping.
This fixes issues with scripts parsing output.
Diffstat (limited to 'pym/gentoolkit/equery/__init__.py')
-rw-r--r-- | pym/gentoolkit/equery/__init__.py | 1 |
1 files changed, 1 insertions, 0 deletions
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) |