1 Return-Path: <patricktotzke@googlemail.com>
\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 92EAA431FD0
\r
6 for <notmuch@notmuchmail.org>; Mon, 4 Jul 2011 13:39:38 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5
\r
12 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,
\r
13 FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled
\r
14 Received: from olra.theworths.org ([127.0.0.1])
\r
15 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
16 with ESMTP id lYxspIpMKSHm for <notmuch@notmuchmail.org>;
\r
17 Mon, 4 Jul 2011 13:39:38 -0700 (PDT)
\r
18 Received: from mail-wy0-f181.google.com (mail-wy0-f181.google.com
\r
19 [74.125.82.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits))
\r
20 (No client certificate requested)
\r
21 by olra.theworths.org (Postfix) with ESMTPS id B937E431FB6
\r
22 for <notmuch@notmuchmail.org>; Mon, 4 Jul 2011 13:39:37 -0700 (PDT)
\r
23 Received: by wyh22 with SMTP id 22so4176062wyh.26
\r
24 for <notmuch@notmuchmail.org>; Mon, 04 Jul 2011 13:39:36 -0700 (PDT)
\r
25 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
\r
26 d=googlemail.com; s=gamma;
\r
27 h=date:from:to:subject:message-id:mime-version:content-type
\r
28 :content-disposition:user-agent;
\r
29 bh=hfewSqwjy6WdNiF9yUNV+i8UJj/psRb+bM8m6Uzfqq8=;
\r
30 b=pQ3FWnM45su6m11P9vvxPBmsHWSzWf4A9bmSk1+0COmLfsrFqOjH9rhuwtF6pTEYDL
\r
31 vqfA7EoB3qktyk0K4RuaPBz0XHCiX+yXwUYVBBbQWtCcwTd8XMvZnWLhUq+xtf2gcB54
\r
32 ecWyw3t//fShD5Ch9NEl793vBEWdLTY7r7GAI=
\r
33 Received: by 10.216.234.80 with SMTP id r58mr5398869weq.109.1309811976352;
\r
34 Mon, 04 Jul 2011 13:39:36 -0700 (PDT)
\r
35 Received: from brick.lan (cpc1-sgyl2-0-0-cust47.sgyl.cable.virginmedia.com
\r
37 by mx.google.com with ESMTPS id n21sm3279502wed.19.2011.07.04.13.39.33
\r
38 (version=TLSv1/SSLv3 cipher=OTHER);
\r
39 Mon, 04 Jul 2011 13:39:35 -0700 (PDT)
\r
40 Date: Mon, 4 Jul 2011 21:39:26 +0100
\r
41 From: Patrick Totzke <patricktotzke@googlemail.com>
\r
42 To: notmuch@notmuchmail.org
\r
43 Subject: [python] missing notmuch_database_needs_upgrade
\r
44 Message-ID: <20110704203926.GA20238@brick.lan>
\r
46 Content-Type: multipart/signed; micalg=pgp-sha1;
\r
47 protocol="application/pgp-signature"; boundary="J/dobhs11T7y2rNN"
\r
48 Content-Disposition: inline
\r
49 User-Agent: Mutt/1.5.21 (2010-09-15)
\r
50 X-BeenThere: notmuch@notmuchmail.org
\r
51 X-Mailman-Version: 2.1.13
\r
53 List-Id: "Use and development of the notmuch mail system."
\r
54 <notmuch.notmuchmail.org>
\r
55 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
56 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
57 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
58 List-Post: <mailto:notmuch@notmuchmail.org>
\r
59 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
60 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
61 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
62 X-List-Received-Date: Mon, 04 Jul 2011 20:39:38 -0000
\r
66 Content-Type: text/plain; charset=us-ascii
\r
67 Content-Disposition: inline
\r
68 Content-Transfer-Encoding: quoted-printable
\r
71 As mentioned shortly on the irc channel,
\r
72 notmuch python bindings seem to be missing 'notmuch_database_needs_upgrade'
\r
73 as Database().needs_upgrade() confirms.
\r
75 This seems to be due to a typo..
\r
77 index 5deb2a5..648f61a 100644
\r
78 --- a/bindings/python/notmuch/database.py
\r
79 +++ b/bindings/python/notmuch/database.py
\r
80 @@ -195,7 +195,7 @@ class Database(object):
\r
81 # Raise a NotmuchError if not initialized
\r
82 self._verify_initialized_db()
\r
84 - return notmuch_database_needs_upgrade(self._db)=20
\r
85 + return nmlib.notmuch_database_needs_upgrade(self._db)
\r
88 """Upgrades the current database
\r
94 Content-Type: application/pgp-signature; name="signature.asc"
\r
95 Content-Description: Digital signature
\r
97 -----BEGIN PGP SIGNATURE-----
\r
98 Version: GnuPG v1.4.11 (GNU/Linux)
\r
100 iEYEARECAAYFAk4SJP4ACgkQlDQDZ9fWxapFBACfQolZ1H6zbO9bZVDqrwMSaA6m
\r
101 jiQAoLlM4fO/Ryt1ybn6xvAVIZJqTdwP
\r
103 -----END PGP SIGNATURE-----
\r
105 --J/dobhs11T7y2rNN--
\r