mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-24 20:08:10 +01:00
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>
This commit is contained in:
parent
68e8560b09
commit
805d737029
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue