From 4a30d9e4b7946e0062ef4d734b636fc8600592bc Mon Sep 17 00:00:00 2001 From: Nick Hall Date: Thu, 8 Dec 2016 15:16:26 +0000 Subject: [PATCH] Make update_backlinks method protected --- gramps/plugins/db/dbapi/dbapi.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gramps/plugins/db/dbapi/dbapi.py b/gramps/plugins/db/dbapi/dbapi.py index 2bc852ef8..8b8c66d9c 100644 --- a/gramps/plugins/db/dbapi/dbapi.py +++ b/gramps/plugins/db/dbapi/dbapi.py @@ -662,7 +662,7 @@ class DBAPI(DbGeneric): pickle.dumps(obj.serialize())]) self.update_secondary_values(obj) if not trans.batch: - self.update_backlinks(obj, trans) + self._update_backlinks(obj, trans) if old_data: trans.add(obj_key, TXNUPD, obj.handle, old_data, @@ -674,7 +674,7 @@ class DBAPI(DbGeneric): return old_data - def update_backlinks(self, obj, transaction): + def _update_backlinks(self, obj, transaction): # Find existing references sql = ("SELECT ref_class, ref_handle " +