From bd7b52988c99ef34fd49f52c8a9d335941144450 Mon Sep 17 00:00:00 2001 From: Emmanuel Gil Peyrot Date: Tue, 14 Nov 2017 12:13:03 +0000 Subject: yapf -ir --- poezio/windows/base_wins.py | 3 ++- poezio/windows/inputs.py | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'poezio/windows') diff --git a/poezio/windows/base_wins.py b/poezio/windows/base_wins.py index 8163dad5..70271765 100644 --- a/poezio/windows/base_wins.py +++ b/poezio/windows/base_wins.py @@ -101,7 +101,8 @@ class Win(object): if y is not None and x is not None: self.move(y, x) next_attr_char = text.find(FORMAT_CHAR) - attr_italic = curses.A_ITALIC if hasattr(curses, 'A_ITALIC') else curses.A_REVERSE + attr_italic = curses.A_ITALIC if hasattr( + curses, 'A_ITALIC') else curses.A_REVERSE while next_attr_char != -1 and text: if next_attr_char + 1 < len(text): attr_char = text[next_attr_char + 1].lower() diff --git a/poezio/windows/inputs.py b/poezio/windows/inputs.py index d2ea5fbb..512395f0 100644 --- a/poezio/windows/inputs.py +++ b/poezio/windows/inputs.py @@ -485,7 +485,8 @@ class Input(Win): if y is not None and x is not None: self.move(y, x) format_char = find_first_format_char(text, chars) - attr_italic = curses.A_ITALIC if hasattr(curses, 'A_ITALIC') else curses.A_REVERSE + attr_italic = curses.A_ITALIC if hasattr( + curses, 'A_ITALIC') else curses.A_REVERSE while format_char != -1: if text[format_char] == '\n': attr_char = '|' -- cgit v1.2.3