X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=bindings%2Fpython%2Fnotmuch%2Fmessage.py;h=cce377d02a8024608bcf840252faae191d937acb;hb=43668950626f347f05aad7d49cd9ea4383030443;hp=bf809008a9709874992d78dba4c5c409497aed0e;hpb=6a833a6e83865f6999707cc30768d07e1351c2cb;p=notmuch diff --git a/bindings/python/notmuch/message.py b/bindings/python/notmuch/message.py index bf809008..cce377d0 100644 --- a/bindings/python/notmuch/message.py +++ b/bindings/python/notmuch/message.py @@ -566,13 +566,13 @@ class Message(Python3StringMixIn): logical OR operator.) As a convenience, you can set the sync_maildir_flags parameter in - :meth:`Database.add_message` to implicitly call this. + :meth:`Database.index_file` to implicitly call this. :returns: a :class:`STATUS`. In short, you want to see notmuch.STATUS.SUCCESS here. See there for details.""" if not self._msg: raise NotInitializedError() - return Message._tags_to_maildir_flags(self._msg) + return Message._maildir_flags_to_tags(self._msg) def __repr__(self): """Represent a Message() object by str()"""