projects
/
gentoolkit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f5def12
)
add CONFIG['termWidth'] setting to the no-pipe option to effectively turn off textwra...
author
dol-sen
<brian.dolbec@gmail.com>
Mon, 16 May 2011 16:40:18 +0000
(09:40 -0700)
committer
dol-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
patch
|
blob
|
history
diff --git
a/pym/gentoolkit/equery/__init__.py
b/pym/gentoolkit/equery/__init__.py
index e25ec544e9ece4fb7acad7497833990a3d8956ec..0d24222645d8f4d42f17c9b0a3b0626a512ddf76 100644
(file)
--- 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)