* src/RelLib.py (Transaction.__len__): Redefine length.
* src/ChooseParents.py, src/EditPerson.py, src/EditSource.py, src/EventEdit.py, src/FamilyView.py, src/gramps_main.py, src/ImageSelect.py, src/Marriage.py, src/MediaView.py, src/PedView.py, src/PeopleModel.py, src/PlaceView.py, src/SelectChild.py, src/SelectObject.py, src/Sources.py, src/SourceView.py, src/Utils.py, src/Witness.py, src/WriteXML.py: Switch from find_* to try_to_find_* methods. svn: r3193
This commit is contained in:
@ -229,7 +229,7 @@ class SourceView:
|
||||
if sref.get_base_id() == source.get_id():
|
||||
return 1
|
||||
for p_id in self.db.get_object_keys():
|
||||
p = self.db.find_object_from_id(p_id)
|
||||
p = self.db.try_to_find_object_from_id(p_id)
|
||||
for sref in p.get_source_references():
|
||||
if sref.get_base_id() == source.get_id():
|
||||
return 1
|
||||
|
Reference in New Issue
Block a user