mirror of
https://git.notmuchmail.org/git/notmuch
synced 2025-02-17 23:53:15 +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)
|
raise NotmuchError(STATUS.NOT_INITIALIZED)
|
||||||
|
|
||||||
i=0
|
i=0
|
||||||
while nmlib.notmuch_tags_valid(self._msgs):
|
while nmlib.notmuch_tags_valid(self._tags):
|
||||||
nmlib.notmuch_tags_move_to_next(self._msgs)
|
nmlib.notmuch_tags_move_to_next(self._tags)
|
||||||
i += 1
|
i += 1
|
||||||
self._tags = None
|
self._tags = None
|
||||||
return i
|
return i
|
||||||
|
|
Loading…
Add table
Reference in a new issue