summaryrefslogtreecommitdiff
path: root/alot/completion
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2021-01-25 09:56:42 +0100
committerAnton Khirnov <anton@khirnov.net>2021-01-25 09:56:42 +0100
commit6a22c9f8026f255c5e6eed5916168552138581e2 (patch)
tree2f8edc21edb2a214ff42198ec9eedee252606ba0 /alot/completion
parent501b0d80d5ade91fb31619432f706c674ff4e71a (diff)
completion: fix some __init__ signatures
Diffstat (limited to 'alot/completion')
-rw-r--r--alot/completion/contacts.py5
-rw-r--r--alot/completion/tags.py5
2 files changed, 2 insertions, 8 deletions
diff --git a/alot/completion/contacts.py b/alot/completion/contacts.py
index 55304081..1de7ea25 100644
--- a/alot/completion/contacts.py
+++ b/alot/completion/contacts.py
@@ -17,7 +17,4 @@ class ContactsCompleter(MultipleSelectionCompleter):
contact
:type addressesonly: bool
"""
- self._completer = AbooksCompleter(abooks, addressesonly=addressesonly)
- self._separator = ', '
-
- super().__init__()
+ super().__init__(AbooksCompleter(abooks, addressesonly = addressesonly))
diff --git a/alot/completion/tags.py b/alot/completion/tags.py
index 38b0a0cd..17df26de 100644
--- a/alot/completion/tags.py
+++ b/alot/completion/tags.py
@@ -14,7 +14,4 @@ class TagsCompleter(MultipleSelectionCompleter):
:param dbman: used to look up available tagstrings
:type dbman: :class:`~alot.db.DBManager`
"""
- self._completer = TagCompleter(dbman)
- self._separator = ','
-
- super().__init__()
+ super().__init__(TagCompleter(dbman), ",")