projects
/
gentoolkit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b366d0b
)
found a better spot to set piping wrap width so as to disable for all piping regardle...
gentoolkit-0.3.0.3
author
dol-sen
<brian.dolbec@gmail.com>
Tue, 17 May 2011 00:36:49 +0000
(17:36 -0700)
committer
dol-sen
<brian.dolbec@gmail.com>
Tue, 17 May 2011 00:36:49 +0000
(17:36 -0700)
Signed-off-by: dol-sen <brian.dolbec@gmail.com>
pym/gentoolkit/equery/__init__.py
patch
|
blob
|
history
diff --git
a/pym/gentoolkit/equery/__init__.py
b/pym/gentoolkit/equery/__init__.py
index 0d24222645d8f4d42f17c9b0a3b0626a512ddf76..b362bcae5a0b66a1a3d8d47ef939905dd0238dfb 100644
(file)
--- a/
pym/gentoolkit/equery/__init__.py
+++ b/
pym/gentoolkit/equery/__init__.py
@@
-221,6
+221,9
@@
def initialize_configuration():
if CONFIG['piping']:
CONFIG['verbose'] = False
+ # set extra wide, should disable wrapping unless
+ # there is some extra long text
+ CONFIG['termWidth'] = 600
CONFIG['debug'] = bool(os.getenv('DEBUG', False))
@@
-275,7
+278,6
@@
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)