1 |
commit: a6b7a7adced1a55327cd947c424987899e6f48ae |
2 |
Author: Brian Dolbec <dolsen <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Dec 23 06:24:53 2011 +0000 |
4 |
Commit: Brian Dolbec <brian.dolbec <AT> gmail <DOT> com> |
5 |
CommitDate: Fri Dec 23 06:24:53 2011 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gentoolkit.git;a=commit;h=a6b7a7ad |
7 |
|
8 |
Fix equery's term_width too. |
9 |
|
10 |
--- |
11 |
pym/gentoolkit/equery/__init__.py | 2 +- |
12 |
1 files changed, 1 insertions(+), 1 deletions(-) |
13 |
|
14 |
diff --git a/pym/gentoolkit/equery/__init__.py b/pym/gentoolkit/equery/__init__.py |
15 |
index b362bca..e79e04f 100644 |
16 |
--- a/pym/gentoolkit/equery/__init__.py |
17 |
+++ b/pym/gentoolkit/equery/__init__.py |
18 |
@@ -207,7 +207,7 @@ def initialize_configuration(): |
19 |
|
20 |
# Get terminal size |
21 |
term_width = pp.output.get_term_size()[1] |
22 |
- if term_width == -1: |
23 |
+ if term_width < 1: |
24 |
# get_term_size() failed. Set a sane default width: |
25 |
term_width = 80 |