Fix equery's term_width too.
authorBrian Dolbec <dolsen@gentoo.org>
Fri, 23 Dec 2011 06:24:53 +0000 (22:24 -0800)
committerBrian Dolbec <dolsen@gentoo.org>
Fri, 23 Dec 2011 06:24:53 +0000 (22:24 -0800)
pym/gentoolkit/equery/__init__.py

index b362bcae5a0b66a1a3d8d47ef939905dd0238dfb..e79e04ff9becd0d45de7689bed398a44c0761010 100644 (file)
@@ -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