[python] missing notmuch_database_needs_upgrade

Patrick Totzke patricktotzke at googlemail.com
Mon Jul 4 13:39:26 PDT 2011


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20110704/5da932ed/attachment.pgp>


More information about the notmuch mailing list