* src/ChooseParents.py: use integers instead of strings for
relationship types * src/PedView.py: use integers instead of strings for relationship types * src/ReadGedcom.py: use integers instead of strings for relationship types * src/ReadXML.py: use integers instead of strings for relationship types * src/RelLib.py: use integers instead of strings for relationship types * src/SelectChild.py: use integers instead of strings for relationship types * src/WriteXML.py: use integers instead of strings for relationship types * src/const.py.in: use integers instead of strings for relationship types * src/gramps_main.py: call database update function * src/GrampsBSDDB.py: add database upgrade function * src/GrampsDbBase.py: add database upgrade function svn: r4113
This commit is contained in:
@@ -300,12 +300,12 @@ class XmlWriter:
|
||||
self.write_url_list(person.get_url_list())
|
||||
|
||||
for alt in person.get_parent_family_handle_list():
|
||||
if alt[1] != "Birth":
|
||||
mrel=' mrel="%s"' % alt[1]
|
||||
if alt[1] != RelLib.Person.CHILD_REL_BIRTH:
|
||||
mrel=' mrel="%s"' % const.child_rel_notrans[alt[1]]
|
||||
else:
|
||||
mrel=''
|
||||
if alt[2] != "Birth":
|
||||
frel=' frel="%s"' % alt[2]
|
||||
frel=' frel="%s"' % const.child_rel_notrans[alt[2]]
|
||||
else:
|
||||
frel=''
|
||||
parent_family = self.db.get_family_from_handle (alt[0])
|
||||
|
Reference in New Issue
Block a user