projects
/
gentoolkit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix the term_width setting for the recent portage change, which is now returning...
[gentoolkit.git]
/
pym
/
gentoolkit
/
base.py
diff --git
a/pym/gentoolkit/base.py
b/pym/gentoolkit/base.py
index 832d902012cd3b34a7a3bae7a0bef8981d3902ed..3d662d5d5b6de364e686f94beb01ffa2b0ba2102 100644
(file)
--- a/
pym/gentoolkit/base.py
+++ b/
pym/gentoolkit/base.py
@@
-40,7
+40,7
@@
def initialize_configuration():
# Get terminal size
term_width = pp.output.get_term_size()[1]
- if term_width
== -
1:
+ if term_width
<
1:
# get_term_size() failed. Set a sane default width:
term_width = 80
# Terminal size, minus a 1-char margin for text wrapping