diff options
Diffstat (limited to 'alot/db/message.py')
-rw-r--r-- | alot/db/message.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/alot/db/message.py b/alot/db/message.py index 02d5565b..61f95383 100644 --- a/alot/db/message.py +++ b/alot/db/message.py @@ -435,8 +435,8 @@ class Message: return self._email def get_tags(self): - """returns tags attached to this message as list of strings""" - return sorted(self._tags) + """returns tags attached to this message as set of strings""" + return self._tags def get_datestring(self): """ @@ -469,8 +469,8 @@ class Message: :class:`DBManager's <alot.db.DBManager>` write queue. You need to call :meth:`~alot.db.DBManager.flush` to write out. - :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 @@ -498,8 +498,8 @@ class Message: :class:`DBManager's <alot.db.DBManager>` write queue. You need to call :meth:`~alot.db.DBManager.flush` to actually out. - :param tags: a list of tags to be added - :type tags: list of str + :param tags: a set of tags to be removed + :type tags: set of str :param afterwards: callback that gets called after successful application of this tagging operation :type afterwards: callable |