diff options
author | mathieui <mathieui@mathieui.net> | 2017-10-14 16:38:07 +0200 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2017-10-14 16:38:07 +0200 |
commit | fc6f2f2bf77ba662f4cdbb6e6c575bb3af2686e3 (patch) | |
tree | c18284eace0000231434e3eb29f69a472dc8da1a | |
parent | 1c43683275c72df721e6fdb84a718e6c397ec3b7 (diff) | |
download | poezio-fc6f2f2bf77ba662f4cdbb6e6c575bb3af2686e3.tar.gz poezio-fc6f2f2bf77ba662f4cdbb6e6c575bb3af2686e3.tar.bz2 poezio-fc6f2f2bf77ba662f4cdbb6e6c575bb3af2686e3.tar.xz poezio-fc6f2f2bf77ba662f4cdbb6e6c575bb3af2686e3.zip |
Use _ for unused arguments in tuple assignment
-rw-r--r-- | poezio/windows/muc.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/poezio/windows/muc.py b/poezio/windows/muc.py index 3e78bfb3..553a2cfa 100644 --- a/poezio/windows/muc.py +++ b/poezio/windows/muc.py @@ -64,7 +64,7 @@ class UserList(Win): self._win.erase() asc_sort = (config.get('user_list_sort').lower() == 'asc') if asc_sort: - y, x = self._win.getmaxyx() + y, _ = self._win.getmaxyx() y -= 1 else: y = 0 @@ -132,7 +132,7 @@ class Topic(Win): else: msg = self._message[:self.width-1] self.addstr(0, 0, msg, to_curses_attr(get_theme().COLOR_TOPIC_BAR)) - (y, x) = self._win.getyx() + _, x = self._win.getyx() remaining_size = self.width - x if remaining_size: self.addnstr(' '*remaining_size, remaining_size, |