From dae641412ebebdf7fd7364f07a577688a375715d Mon Sep 17 00:00:00 2001 From: mathieui Date: Thu, 7 Jul 2016 19:51:53 +0200 Subject: Fix a circular import introduced in 409b1513 It breaks python 3.4 which is touchy about them, https://bugs.python.org/issue17636 --- poezio/size_manager.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'poezio/size_manager.py') diff --git a/poezio/size_manager.py b/poezio/size_manager.py index a573e176..7e445042 100644 --- a/poezio/size_manager.py +++ b/poezio/size_manager.py @@ -20,12 +20,12 @@ class SizeManager(object): @property def tab_degrade_x(self): - _, x = windows.TAB_WIN.getmaxyx() + _, x = windows.base_wins.TAB_WIN.getmaxyx() return x < THRESHOLD_WIDTH_DEGRADE @property def tab_degrade_y(self): - y, x = windows.TAB_WIN.getmaxyx() + y, x = windows.base_wins.TAB_WIN.getmaxyx() return y < THRESHOLD_HEIGHT_DEGRADE @property -- cgit v1.2.3