* src/DateParser.py: handle leap year in gregorial validity check

* src/MergeData.py: Preserve more data when merging
the 1.0.X patch from Julio Sanchez)
* src/plugins/ReadGedcom.py: Attach top leve source to the
person instead of the primary name (ported from	the 1.0.X patch
from Julio Sanchez)
* src/const.py: Add support for "Number of Children" attribute
(GEDCOM NCHI) (ported from the 1.0.X patch from Julio Sanchez)


svn: r3728
This commit is contained in:
Don Allingham
2004-11-15 02:07:21 +00:00
parent 986f3fe9aa
commit 3057994aca
5 changed files with 61 additions and 31 deletions

View File

@ -985,7 +985,7 @@ class GedcomParser:
self.person.add_event_handle(event.get_handle())
elif matches[1] == "SOUR":
source_ref = self.handle_source(matches,2)
self.person.get_primary_name().add_source_reference(source_ref)
self.person.add_source_reference(source_ref)
elif matches[1] == "REFN":
if intRE.match(matches[2]):
try: