From 73749091aec9b2e7780a4f913268bcfc73e86e1e Mon Sep 17 00:00:00 2001 From: Emmanuel Gil Peyrot Date: Sat, 18 Aug 2018 08:04:41 +0100 Subject: Remove some circular type imports. --- poezio/windows/info_bar.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'poezio/windows') diff --git a/poezio/windows/info_bar.py b/poezio/windows/info_bar.py index 033f78aa..96382d0f 100644 --- a/poezio/windows/info_bar.py +++ b/poezio/windows/info_bar.py @@ -11,15 +11,14 @@ log = logging.getLogger(__name__) import curses from poezio.config import config -from poezio.core import Core from poezio.windows.base_wins import Win from poezio.theming import get_theme, to_curses_attr class GlobalInfoBar(Win): - def __init__(self, core: Core) -> None: + def __init__(self, core) -> None: Win.__init__(self) - self.core = core # type: Core + self.core = core def refresh(self) -> None: log.debug('Refresh: %s', self.__class__.__name__) @@ -64,9 +63,9 @@ class GlobalInfoBar(Win): class VerticalGlobalInfoBar(Win): - def __init__(self, core: Core, scr) -> None: + def __init__(self, core, scr) -> None: Win.__init__(self) - self.core = core # type: Core + self.core = core self._win = scr def refresh(self) -> None: -- cgit v1.2.3