summaryrefslogtreecommitdiff
path: root/alot/db/manager.py
diff options
context:
space:
mode:
Diffstat (limited to 'alot/db/manager.py')
-rw-r--r--alot/db/manager.py9
1 files changed, 4 insertions, 5 deletions
diff --git a/alot/db/manager.py b/alot/db/manager.py
index 8ba6bd02..6424f32f 100644
--- a/alot/db/manager.py
+++ b/alot/db/manager.py
@@ -202,8 +202,8 @@ class DBManager:
:param querystring: notmuch search string
:type querystring: str
- :param tags: a list of tags to be added
- :type tags: list of str
+ :param tags: a set of tags to be added
+ :type tags: set of str
:param afterwards: callback that gets called after successful
application of this tagging operation
:type afterwards: callable
@@ -269,10 +269,9 @@ class DBManager:
def get_all_tags(self):
"""
returns all tagsstrings used in the database
- :rtype: list of str
+ :rtype: set of str
"""
- # XXX should be set
- return list(self._db_ro().tags)
+ return self._db_ro().tags
def get_named_queries(self):
"""