Re: [PATCH v2] test: attempt to send QUIT to smtp-dummy in case mail send failed
[notmuch-archives.git] / f9 / f8f40ec0a0522f6b0268607e8c02433c1ce713
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
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -0.799\r
10 X-Spam-Level: \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
36         [80.192.18.48])\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
45 MIME-Version: 1.0\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
52 Precedence: list\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
63 \r
64 \r
65 --J/dobhs11T7y2rNN\r
66 Content-Type: text/plain; charset=us-ascii\r
67 Content-Disposition: inline\r
68 Content-Transfer-Encoding: quoted-printable\r
69 \r
70 Hiya,\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
74 \r
75 This seems to be due to a typo..\r
76 \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
83 =20\r
84 -        return notmuch_database_needs_upgrade(self._db)=20\r
85 +        return nmlib.notmuch_database_needs_upgrade(self._db)\r
86 =20\r
87      def upgrade(self):\r
88          """Upgrades the current database\r
89 \r
90 cheers,\r
91 /p\r
92 \r
93 --J/dobhs11T7y2rNN\r
94 Content-Type: application/pgp-signature; name="signature.asc"\r
95 Content-Description: Digital signature\r
96 \r
97 -----BEGIN PGP SIGNATURE-----\r
98 Version: GnuPG v1.4.11 (GNU/Linux)\r
99 \r
100 iEYEARECAAYFAk4SJP4ACgkQlDQDZ9fWxapFBACfQolZ1H6zbO9bZVDqrwMSaA6m\r
101 jiQAoLlM4fO/Ryt1ybn6xvAVIZJqTdwP\r
102 =C+D1\r
103 -----END PGP SIGNATURE-----\r
104 \r
105 --J/dobhs11T7y2rNN--\r