From: Justus Winter <4winter@informatik.uni-hamburg.de> Date: Mon, 30 Apr 2012 16:27:15 +0000 (+0200) Subject: python: fix Message.get_filenames X-Git-Tag: 0.13_rc1~34 X-Git-Url: https://git.cworth.org/git?p=obsolete%2Fnotmuch-old;a=commitdiff_plain;h=bbc38c5c11d76ec96a4648d33c0368584a11c748 python: fix Message.get_filenames Do not to use the removed function Filenames.as_iterator. Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de> --- diff --git a/bindings/python/notmuch/message.py b/bindings/python/notmuch/message.py index f1faf1da..54c4e4b2 100644 --- a/bindings/python/notmuch/message.py +++ b/bindings/python/notmuch/message.py @@ -259,7 +259,7 @@ class Message(Python3StringMixIn): files_p = Message._get_filenames(self._msg) - return Filenames(files_p, self).as_generator() + return Filenames(files_p, self) def get_flag(self, flag): """Checks whether a specific flag is set for this message