handle things if no document generators are available

svn: r800
This commit is contained in:
Don Allingham
2002-02-26 05:16:38 +00:00
parent 520b523b3c
commit f1453d64f5
8 changed files with 70 additions and 34 deletions

View File

@@ -700,6 +700,11 @@ class GedcomParser:
source_ref.setBase(self.db.findSource(matches[2],self.smap))
self.parse_source_reference(source_ref,2)
self.person.getPrimaryName().addSourceRef(source_ref)
elif matches[1] == "REFN":
attr = Attribute()
attr.setType("Reference Number")
attr.setValue(matches[2])
self.person.addAttribute(attr)
elif matches[1] in ["AFN","CHAN","REFN","ASSO"]:
self.ignore_sub_junk(2)
elif matches[1] in ["ANCI","DESI","RIN","RFN"]: