aboutsummaryrefslogtreecommitdiffhomepage
path: root/bindings/python/notmuch/tag.py
diff options
context:
space:
mode:
authorGravatar Cedric Cabessa <ced@ryick.net>2011-08-09 16:31:12 +0200
committerGravatar Sebastian Spaeth <Sebastian@SSpaeth.de>2011-08-09 16:34:02 +0200
commit805d737029e2758499bae95cd893f219171e2b00 (patch)
treed80ed8b0d36764ae08ec7597db9338ea78192675 /bindings/python/notmuch/tag.py
parent68e8560b0962cab812d78db83d33ce7fe730cb41 (diff)
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 <Sebastian@SSpaeth.de>
Diffstat (limited to 'bindings/python/notmuch/tag.py')
-rw-r--r--bindings/python/notmuch/tag.py4
1 files changed, 2 insertions, 2 deletions
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