From e75a45748fa9b8c0cdfaeda3d2d079a9d2d52f84 Mon Sep 17 00:00:00 2001 From: Josip Date: Sun, 4 Dec 2016 18:30:36 +0100 Subject: [PATCH] fix missing imports part of bug 9820 NameError: name 'DbException' is not defined --- gramps/gen/db/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gramps/gen/db/base.py b/gramps/gen/db/base.py index 092b7831f..6b6068f84 100644 --- a/gramps/gen/db/base.py +++ b/gramps/gen/db/base.py @@ -46,7 +46,7 @@ _ = glocale.translation.gettext from ..lib.childreftype import ChildRefType from ..lib.childref import ChildRef from .txn import DbTxn -from .exceptions import DbTransactionCancel +from .exceptions import DbTransactionCancel, DbException _LOG = logging.getLogger(DBLOGNAME)