mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-12-23 01:44:52 +01:00
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 <patricktotzke@googlemail.com> Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
This commit is contained in:
parent
52e4dedf9a
commit
3545a2960d
1 changed files with 1 additions and 1 deletions
|
@ -195,7 +195,7 @@ class Database(object):
|
||||||
# Raise a NotmuchError if not initialized
|
# Raise a NotmuchError if not initialized
|
||||||
self._verify_initialized_db()
|
self._verify_initialized_db()
|
||||||
|
|
||||||
return notmuch_database_needs_upgrade(self._db)
|
return nmlib.notmuch_database_needs_upgrade(self._db)
|
||||||
|
|
||||||
def upgrade(self):
|
def upgrade(self):
|
||||||
"""Upgrades the current database
|
"""Upgrades the current database
|
||||||
|
|
Loading…
Reference in a new issue