From: Cedric Cabessa Date: Tue, 9 Aug 2011 14:31:12 +0000 (+0200) Subject: python: Fix copy'n paste typo X-Git-Tag: 0.8_rc0~22 X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=commitdiff_plain;h=805d737029e2758499bae95cd893f219171e2b00 python: Fix copy'n paste typo we accessed a wrong attribute due to a copy and paste error. Thanks for catching this. Signed-off-by: Sebastian Spaeth --- diff --git a/bindings/python/notmuch/tag.py b/bindings/python/notmuch/tag.py index 65a9118a..2f82c1a1 100644 --- a/bindings/python/notmuch/tag.py +++ b/bindings/python/notmuch/tag.py @@ -116,8 +116,8 @@ class Tags(object): raise NotmuchError(STATUS.NOT_INITIALIZED) i=0 - while nmlib.notmuch_tags_valid(self._msgs): - nmlib.notmuch_tags_move_to_next(self._msgs) + while nmlib.notmuch_tags_valid(self._tags): + nmlib.notmuch_tags_move_to_next(self._tags) i += 1 self._tags = None return i