1 Return-Path: <ced@ryick.net>
\r
2 X-Original-To: notmuch@notmuchmail.org
\r
3 Delivered-To: notmuch@notmuchmail.org
\r
4 Received: from localhost (localhost [127.0.0.1])
\r
5 by olra.theworths.org (Postfix) with ESMTP id 61B31431FD0
\r
6 for <notmuch@notmuchmail.org>; Wed, 3 Aug 2011 14:01:21 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=0.001 tagged_above=-999 required=5
\r
12 tests=[RCVD_IN_SORBS_DUL=0.001] autolearn=disabled
\r
13 Received: from olra.theworths.org ([127.0.0.1])
\r
14 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
15 with ESMTP id hAX1G9gPd08J for <notmuch@notmuchmail.org>;
\r
16 Wed, 3 Aug 2011 14:01:20 -0700 (PDT)
\r
17 X-Greylist: delayed 509 seconds by postgrey-1.32 at olra;
\r
18 Wed, 03 Aug 2011 14:01:20 PDT
\r
19 Received: from ced.ryick.net (ced.ryick.net [82.229.97.62])
\r
20 by olra.theworths.org (Postfix) with ESMTP id C162D431FB6
\r
21 for <notmuch@notmuchmail.org>; Wed, 3 Aug 2011 14:01:20 -0700 (PDT)
\r
22 Received: from fawkes (fawkes.ryick.net [192.168.0.2])
\r
23 by ced.ryick.net (Postfix) with SMTP id 822D827C
\r
24 for <notmuch@notmuchmail.org>; Wed, 3 Aug 2011 22:47:21 +0200 (CEST)
\r
25 Received: by fawkes (sSMTP sendmail emulation); Wed, 03 Aug 2011 22:47:21
\r
27 From: =?UTF-8?q?C=C3=A9dric=20Cabessa?= <ced@ryick.net>
\r
28 To: notmuch@notmuchmail.org
\r
29 Subject: [PATCH] fix typo in Tags.__len__
\r
30 Date: Wed, 3 Aug 2011 22:47:21 +0200
\r
31 Message-Id: <1312404441-9635-1-git-send-email-ced@ryick.net>
\r
32 X-Mailer: git-send-email 1.7.6
\r
33 X-BeenThere: notmuch@notmuchmail.org
\r
34 X-Mailman-Version: 2.1.13
\r
36 List-Id: "Use and development of the notmuch mail system."
\r
37 <notmuch.notmuchmail.org>
\r
38 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
39 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
40 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
41 List-Post: <mailto:notmuch@notmuchmail.org>
\r
42 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
43 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
44 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
45 X-List-Received-Date: Wed, 03 Aug 2011 21:01:21 -0000
\r
47 Here is a sample that trigger the bug :
\r
50 db = notmuch.Database()
\r
51 query = db.create_query("tag:inbox")
\r
53 for m in query.search_messages():
\r
58 bindings/python/notmuch/tag.py | 4 ++--
\r
59 1 files changed, 2 insertions(+), 2 deletions(-)
\r
61 diff --git a/bindings/python/notmuch/tag.py b/bindings/python/notmuch/tag.py
\r
62 index 65a9118..2f82c1a 100644
\r
63 --- a/bindings/python/notmuch/tag.py
\r
64 +++ b/bindings/python/notmuch/tag.py
\r
65 @@ -116,8 +116,8 @@ class Tags(object):
\r
66 raise NotmuchError(STATUS.NOT_INITIALIZED)
\r
69 - while nmlib.notmuch_tags_valid(self._msgs):
\r
70 - nmlib.notmuch_tags_move_to_next(self._msgs)
\r
71 + while nmlib.notmuch_tags_valid(self._tags):
\r
72 + nmlib.notmuch_tags_move_to_next(self._tags)
\r