svn: r6245
This commit is contained in:
Don Allingham 2006-03-31 20:06:23 +00:00
parent 07bcb66362
commit 0a01f62c7f

View File

@ -738,8 +738,8 @@ class GedcomWriter:
(index,name) = event.get_type() (index,name) = event.get_type()
val = "" val = ""
if Utils.familyConstantEvents.has_key(index): if Utils.family_events.has_key(index):
val = Utils.familyConstantEvents[name] val = Utils.family_events[name]
if val == "": if val == "":
val = self.target_ged.gramps2tag(name) val = self.target_ged.gramps2tag(name)
@ -896,8 +896,8 @@ class GedcomWriter:
continue continue
(index,name) = event.get_type() (index,name) = event.get_type()
val = "" val = ""
if Utils.personalConstantEvents.has_key(index): if Utils.personal_events.has_key(index):
val = Utils.personalConstantEvents[index] val = Utils.personal_events[index]
if val == "": if val == "":
val = self.target_ged.gramps2tag(index) val = self.target_ged.gramps2tag(index)
@ -974,8 +974,8 @@ class GedcomWriter:
self.writeln("1 %s %s" % ( name, attr.get_value())) self.writeln("1 %s %s" % ( name, attr.get_value()))
continue continue
if Utils.personalConstantAttributes.has_key(name): if Utils.personal_attributes.has_key(name):
val = Utils.personalConstantAttributes[name] val = Utils.personal_attributes[name]
else: else:
val = "" val = ""
value = self.cnvtxt(attr.get_value()).replace('\r',' ') value = self.cnvtxt(attr.get_value()).replace('\r',' ')