Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 92EAA431FD0 for ; Mon, 4 Jul 2011 13:39:38 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.799 X-Spam-Level: X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lYxspIpMKSHm for ; Mon, 4 Jul 2011 13:39:38 -0700 (PDT) Received: from mail-wy0-f181.google.com (mail-wy0-f181.google.com [74.125.82.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id B937E431FB6 for ; Mon, 4 Jul 2011 13:39:37 -0700 (PDT) Received: by wyh22 with SMTP id 22so4176062wyh.26 for ; Mon, 04 Jul 2011 13:39:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=date:from:to:subject:message-id:mime-version:content-type :content-disposition:user-agent; bh=hfewSqwjy6WdNiF9yUNV+i8UJj/psRb+bM8m6Uzfqq8=; b=pQ3FWnM45su6m11P9vvxPBmsHWSzWf4A9bmSk1+0COmLfsrFqOjH9rhuwtF6pTEYDL vqfA7EoB3qktyk0K4RuaPBz0XHCiX+yXwUYVBBbQWtCcwTd8XMvZnWLhUq+xtf2gcB54 ecWyw3t//fShD5Ch9NEl793vBEWdLTY7r7GAI= Received: by 10.216.234.80 with SMTP id r58mr5398869weq.109.1309811976352; Mon, 04 Jul 2011 13:39:36 -0700 (PDT) Received: from brick.lan (cpc1-sgyl2-0-0-cust47.sgyl.cable.virginmedia.com [80.192.18.48]) by mx.google.com with ESMTPS id n21sm3279502wed.19.2011.07.04.13.39.33 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 04 Jul 2011 13:39:35 -0700 (PDT) Date: Mon, 4 Jul 2011 21:39:26 +0100 From: Patrick Totzke To: notmuch@notmuchmail.org Subject: [python] missing notmuch_database_needs_upgrade Message-ID: <20110704203926.GA20238@brick.lan> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="J/dobhs11T7y2rNN" Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Jul 2011 20:39:38 -0000 --J/dobhs11T7y2rNN Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hiya, As mentioned shortly on the irc channel, notmuch python bindings seem to be missing 'notmuch_database_needs_upgrade' as Database().needs_upgrade() confirms. This seems to be due to a typo.. index 5deb2a5..648f61a 100644 --- a/bindings/python/notmuch/database.py +++ b/bindings/python/notmuch/database.py @@ -195,7 +195,7 @@ class Database(object): # Raise a NotmuchError if not initialized self._verify_initialized_db() =20 - return notmuch_database_needs_upgrade(self._db)=20 + return nmlib.notmuch_database_needs_upgrade(self._db) =20 def upgrade(self): """Upgrades the current database cheers, /p --J/dobhs11T7y2rNN Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iEYEARECAAYFAk4SJP4ACgkQlDQDZ9fWxapFBACfQolZ1H6zbO9bZVDqrwMSaA6m jiQAoLlM4fO/Ryt1ybn6xvAVIZJqTdwP =C+D1 -----END PGP SIGNATURE----- --J/dobhs11T7y2rNN--