[python] missing notmuch_database_needs_upgrade

Subject: [python] missing notmuch_database_needs_upgrade

Date: Mon, 4 Jul 2011 21:39:26 +0100

To: notmuch@notmuchmail.org

Cc:

From: Patrick Totzke


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()
 
-        return notmuch_database_needs_upgrade(self._db) 
+        return nmlib.notmuch_database_needs_upgrade(self._db)
 
     def upgrade(self):
         """Upgrades the current database

cheers,
/p
signature.asc (application/pgp-signature)

Thread: