From a6b7a7adced1a55327cd947c424987899e6f48ae Mon Sep 17 00:00:00 2001 From: Brian Dolbec Date: Thu, 22 Dec 2011 22:24:53 -0800 Subject: [PATCH] Fix equery's term_width too. --- pym/gentoolkit/equery/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.26.2