summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2019-10-18 23:16:52 +0200
committermathieui <mathieui@mathieui.net>2019-10-18 23:16:52 +0200
commit0ba31f877c7ae8b1013482880358f9ccf47776b5 (patch)
tree0cb240597a2dbefca78f2017c948b2140eca3d59
parent9c6f7246d7ba01451865a876dd196fd1eee1b445 (diff)
downloadpoezio-0ba31f877c7ae8b1013482880358f9ccf47776b5.tar.gz
poezio-0ba31f877c7ae8b1013482880358f9ccf47776b5.tar.bz2
poezio-0ba31f877c7ae8b1013482880358f9ccf47776b5.tar.xz
poezio-0ba31f877c7ae8b1013482880358f9ccf47776b5.zip
Fix pylint errors
- wrong command path - pylint bug regarding slots
-rw-r--r--poezio/tabs/rostertab.py2
-rw-r--r--poezio/windows/inputs.py1
2 files changed, 2 insertions, 1 deletions
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: