7559: add LOG.info for displaying recursive handles for BaseObject

This commit is contained in:
Jérôme Rapinat 2014-04-01 10:32:17 +02:00
parent 9a941503e4
commit 3b23ab4602

View File

@ -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):