From 3b23ab460258e2225b3a72616ac05329c21cf918 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Rapinat?= Date: Tue, 1 Apr 2014 10:32:17 +0200 Subject: [PATCH] 7559: add LOG.info for displaying recursive handles for BaseObject --- gramps/gen/lib/baseobj.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gramps/gen/lib/baseobj.py b/gramps/gen/lib/baseobj.py index 27ca380d2..d2bcf1604 100644 --- a/gramps/gen/lib/baseobj.py +++ b/gramps/gen/lib/baseobj.py @@ -30,6 +30,7 @@ Base Object class for GRAMPS # #------------------------------------------------------------------------- import re +import logging #------------------------------------------------------------------------- # @@ -43,6 +44,8 @@ from ..constfunc import cuni # Base Object # #------------------------------------------------------------------------- +LOG = logging.getLogger(".baseobj") + class BaseObject(object): """ The BaseObject is the base class for all data objects in GRAMPS, @@ -198,6 +201,7 @@ class BaseObject(object): # Run through child objects for obj in self.get_handle_referents(): ret += obj.get_referenced_handles_recursively() + LOG.info("List of classname, handle: %s" % ret) return ret def merge(self, acquisition):