summaryrefslogtreecommitdiff
path: root/pym
diff options
context:
space:
mode:
authorBrian Dolbec <dolsen@gentoo.org>2011-12-22 22:24:53 -0800
committerBrian Dolbec <dolsen@gentoo.org>2011-12-22 22:24:53 -0800
commita6b7a7adced1a55327cd947c424987899e6f48ae (patch)
treeb8b7c1f45d8ed780f313d025c3b7539f4f329954 /pym
parent96236b49a1da4bd32ac64ba97ab828e0a7b5e9e8 (diff)
downloadgentoolkit-a6b7a7adced1a55327cd947c424987899e6f48ae.tar.gz
Fix equery's term_width too.
Diffstat (limited to 'pym')
-rw-r--r--pym/gentoolkit/equery/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/gentoolkit/equery/__init__.py b/pym/gentoolkit/equery/__init__.py
index b362bca..e79e04f 100644
--- a/pym/gentoolkit/equery/__init__.py
+++ b/pym/gentoolkit/equery/__init__.py
@@ -207,7 +207,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