From: Sebastian Spaeth Date: Fri, 8 Jul 2011 20:47:06 +0000 (+0200) Subject: python: Fix Database().needs_upgrade() X-Git-Tag: 0.7_rc1~17 X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=commitdiff_plain;h=3545a2960db0017cd2e632171015069e99656488;hp=52e4dedf9aaf7d89046667a034ad897a7381b9c1 python: Fix Database().needs_upgrade() A stupid typo was preventing this from ever working and it was not detected until now. Patrick noted the typo and proposed the fix in mail id:"20110704203926.GA20238@brick.lan". Patch-by: Patrick Totzke Signed-off-by: Sebastian Spaeth --- diff --git a/bindings/python/notmuch/database.py b/bindings/python/notmuch/database.py index 5deb2a5d..3770b132 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