From 0778a6f706adebdf8f86e1396090e3275a1b53ec Mon Sep 17 00:00:00 2001 From: Tim G L Lyons Date: Wed, 25 Feb 2015 01:13:20 +0000 Subject: [PATCH] Missing import statement --- gramps/gen/db/write.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gramps/gen/db/write.py b/gramps/gen/db/write.py index 5c872e7f1..742898352 100644 --- a/gramps/gen/db/write.py +++ b/gramps/gen/db/write.py @@ -2372,6 +2372,8 @@ class DbBsddb(DbBsddbRead, DbWriteBase, UpdateCallback): version = self.metadata.get(b'version', default=_MINVERSION) t = time.time() + + from . import upgrade if version < 14: upgrade.gramps_upgrade_14(self)