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>
This commit is contained in:
Justus Winter 2012-04-30 18:27:15 +02:00
parent e74b1f807b
commit bbc38c5c11

View file

@ -259,7 +259,7 @@ class Message(Python3StringMixIn):
files_p = Message._get_filenames(self._msg) files_p = Message._get_filenames(self._msg)
return Filenames(files_p, self).as_generator() return Filenames(files_p, self)
def get_flag(self, flag): def get_flag(self, flag):
"""Checks whether a specific flag is set for this message """Checks whether a specific flag is set for this message