diff options
author | mathieui <mathieui@mathieui.net> | 2018-07-21 17:09:52 +0200 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2018-07-21 17:09:52 +0200 |
commit | ea2d76864da2448152428a62fe5c7daaea6ab0d3 (patch) | |
tree | 7ac279bb9b1efbe6025a0435d4a121f11080fcb0 /poezio/tabs/xmltab.py | |
parent | 3ec153a6a01faca5445bb7c21e0d427bb5096320 (diff) | |
download | poezio-ea2d76864da2448152428a62fe5c7daaea6ab0d3.tar.gz poezio-ea2d76864da2448152428a62fe5c7daaea6ab0d3.tar.bz2 poezio-ea2d76864da2448152428a62fe5c7daaea6ab0d3.tar.xz poezio-ea2d76864da2448152428a62fe5c7daaea6ab0d3.zip |
yapf -rip
Diffstat (limited to 'poezio/tabs/xmltab.py')
-rw-r--r-- | poezio/tabs/xmltab.py | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/poezio/tabs/xmltab.py b/poezio/tabs/xmltab.py index 26d5aef3..fc04f778 100644 --- a/poezio/tabs/xmltab.py +++ b/poezio/tabs/xmltab.py @@ -261,8 +261,9 @@ class XMLTab(Tab): xml = self.filtered_buffer.messages[:] else: xml = self.core_buffer.messages[:] - text = '\n'.join(('%s %s %s' % (msg.str_time, msg.nickname, - clean_text(msg.txt)) for msg in xml)) + text = '\n'.join( + ('%s %s %s' % (msg.str_time, msg.nickname, clean_text(msg.txt)) + for msg in xml)) filename = os.path.expandvars(os.path.expanduser(args[0])) try: with open(filename, 'w') as fd: @@ -375,8 +376,9 @@ class XMLTab(Tab): def on_info_win_size_changed(self): if self.core.information_win_size >= self.height - 3: return - self.text_win.resize(self.height - 2 - self.core.information_win_size - - Tab.tab_win_height(), self.width, 0, 0) + self.text_win.resize( + self.height - 2 - self.core.information_win_size - + Tab.tab_win_height(), self.width, 0, 0) self.info_header.resize( 1, self.width, self.height - 2 - self.core.information_win_size - Tab.tab_win_height(), 0) |