From: Brian Dolbec Date: Fri, 23 Dec 2011 06:24:53 +0000 (-0800) Subject: Fix equery's term_width too. X-Git-Tag: gentoolkit-0.3.0.5~7 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=a6b7a7adced1a55327cd947c424987899e6f48ae;p=gentoolkit.git Fix equery's term_width too. --- 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