From 8e965ac3e8a082fdf254f70d06ca025487123252 Mon Sep 17 00:00:00 2001 From: Alex Roitman Date: Fri, 24 Feb 2006 20:20:22 +0000 Subject: [PATCH] * src/RelLib/_Person.py (Person.get_handle_referents): Add birth_ref and death_ref to the list of referents. svn: r5983 --- ChangeLog | 4 ++++ src/RelLib/_Person.py | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 8d9bdfaf7..7cb6680c6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2006-02-24 Alex Roitman + * src/RelLib/_Person.py (Person.get_handle_referents): Add + birth_ref and death_ref to the list of referents. + 2006-02-23 Don Allingham * src/EditEventRef.py: switch to monitored widgets, place selector * src/EventEdit.py: switch to monitored widgets, place selector diff --git a/src/RelLib/_Person.py b/src/RelLib/_Person.py index e3050a22d..c82825178 100644 --- a/src/RelLib/_Person.py +++ b/src/RelLib/_Person.py @@ -330,8 +330,9 @@ class Person(PrimaryObject,SourceNote, @return: Returns the list of objects refereincing primary objects. @rtype: list """ + birth_death = [item for item in [birth_ref,death_ref] if item] return self.get_sourcref_child_list() + self.source_list \ - + self.event_ref_list + + self.event_ref_list + birth_death def set_complete_flag(self,val): warn( "Use set_marker instead of set_complete_flag", DeprecationWarning, 2)