update
svn: r2932
This commit is contained in:
parent
915bf08e8b
commit
32371cf8bd
@ -911,12 +911,9 @@ class FamilyView:
|
|||||||
list = person.get_parent_family_id_list()
|
list = person.get_parent_family_id_list()
|
||||||
|
|
||||||
for (f,mrel,frel) in list:
|
for (f,mrel,frel) in list:
|
||||||
print (f,mrel,frel)
|
|
||||||
fam = self.parent.db.find_family_from_id(f)
|
fam = self.parent.db.find_family_from_id(f)
|
||||||
father_id = fam.get_father_id()
|
father_id = fam.get_father_id()
|
||||||
mother_id = fam.get_mother_id()
|
mother_id = fam.get_mother_id()
|
||||||
print "father_id:", father_id
|
|
||||||
print "mother_id:", mother_id
|
|
||||||
f = self.parent.db.find_person_from_id(father_id)
|
f = self.parent.db.find_person_from_id(father_id)
|
||||||
m = self.parent.db.find_person_from_id(mother_id)
|
m = self.parent.db.find_person_from_id(mother_id)
|
||||||
father = self.nameof(_("Father"),f,frel)
|
father = self.nameof(_("Father"),f,frel)
|
||||||
|
@ -2677,7 +2677,6 @@ class GrampsDB:
|
|||||||
else:
|
else:
|
||||||
person.set_id(val)
|
person.set_id(val)
|
||||||
assert(person.get_id())
|
assert(person.get_id())
|
||||||
print "person.get_id():", person.get_id()
|
|
||||||
assert(person.get_id()[0] == 'I')
|
assert(person.get_id()[0] == 'I')
|
||||||
self.person_map.put(str(val), person.serialize())
|
self.person_map.put(str(val), person.serialize())
|
||||||
self.pmap_index = self.pmap_index+1
|
self.pmap_index = self.pmap_index+1
|
||||||
|
Loading…
Reference in New Issue
Block a user