fix #1364 typo in LDS_ORD_NAME table

svn: r9332
This commit is contained in:
James G Sack 2007-11-12 08:22:04 +00:00
parent 2d2bebdf5d
commit 691baa87a5
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2007-11-11 Jim Sack <jgsack@san.rr.com>
* src/GrampsDbUtils/_WriteGedcom.py: fix #1364 s/SGLS/SLGS/
Fixes 3.0 trunk. same issue exists in 2.2.x to be fixed next
2007-11-11 Jim Sack <jgsack@san.rr.com>
* src/ArgHandler.py: remove leftovers from prior CLI crash (#1358)
* src/test/gramps_cli_test.py: add test for this bug

View File

@ -88,7 +88,7 @@ LDS_ORD_NAME = {
gen.lib.LdsOrd.BAPTISM : 'BAPL',
gen.lib.LdsOrd.ENDOWMENT : 'ENDL',
gen.lib.LdsOrd.SEAL_TO_PARENTS : 'SLGC',
gen.lib.LdsOrd.SEAL_TO_SPOUSE : 'SGLS',
gen.lib.LdsOrd.SEAL_TO_SPOUSE : 'SLGS',
gen.lib.LdsOrd.CONFIRMATION : 'CONL',
}
@ -598,7 +598,7 @@ class GedcomWriter(BasicUtils.UpdateCallback):
def __lds_ords(self, obj, level):
"""
Simply loop through the list of LDS ordinances, and call the function
that write the LDS oridinance structure.
that write the LDS ordinance structure.
"""
for lds_ord in obj.get_lds_ord_list():
self.write_ord(lds_ord, level)