From 0ba31f877c7ae8b1013482880358f9ccf47776b5 Mon Sep 17 00:00:00 2001 From: mathieui Date: Fri, 18 Oct 2019 23:16:52 +0200 Subject: Fix pylint errors - wrong command path - pylint bug regarding slots --- poezio/tabs/rostertab.py | 2 +- poezio/windows/inputs.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'poezio') diff --git a/poezio/tabs/rostertab.py b/poezio/tabs/rostertab.py index a5ce268b..8c80a652 100644 --- a/poezio/tabs/rostertab.py +++ b/poezio/tabs/rostertab.py @@ -914,7 +914,7 @@ class RosterInfoTab(Tab): log.error('Unable to correct a message', exc_info=True) return for jid in lines: - self.command.command_add(jid.lstrip('\n')) + self.core.command.command_add(jid.lstrip('\n')) self.core.information('Contacts imported from %s' % filepath, 'Info') @deny_anonymous diff --git a/poezio/windows/inputs.py b/poezio/windows/inputs.py index c0c73419..84b95599 100644 --- a/poezio/windows/inputs.py +++ b/poezio/windows/inputs.py @@ -601,6 +601,7 @@ class HistoryInput(Input): self.key_func['^R'] = self.toggle_search self.search = False if config.get('separate_history'): + # pylint: disable=assigning-non-slot self.history = [] # type: List[str] def toggle_search(self) -> None: -- cgit v1.2.3