svn: r5984
This commit is contained in:
Alex Roitman 2006-02-24 20:23:25 +00:00
parent 8e965ac3e8
commit 155e169c7e

View File

@ -330,7 +330,7 @@ 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]
birth_death = [i for i in [self.birth_ref,self.death_ref] if i]
return self.get_sourcref_child_list() + self.source_list \
+ self.event_ref_list + birth_death