]> git.notmuchmail.org Git - notmuch/commit
python: fix Message.get_filenames()
authorThomas Jost <schnouki@schnouki.net>
Fri, 30 Sep 2011 10:16:47 +0000 (12:16 +0200)
committerSebastian Spaeth <Sebastian@SSpaeth.de>
Fri, 30 Sep 2011 22:40:20 +0000 (00:40 +0200)
commita859d1c8668d9bec03f2b9525c7029c578c1b427
tree8f1aaa036b9e3dbb8b907a0ad094b383a3ffd314
parent8c51525e8213e074a845ad53d7196453952623dd
python: fix Message.get_filenames()

Previously, the Filenames generator only yielded *one* filename before
returning, making Message.get_filenames() behave as Message.get_filename(). This
commit fixes this incorrect behavior: now the generator yields all the
filenames, as expected.
bindings/python/notmuch/filename.py