* src/GrampsCfg.py: Add comment about SUSE naming of gconf

* src/Relationship.py: detect a RuntimeError exception that occurs
when we exceed the recursion depth limit. This occurs when a
relationship loop is detected
* src/gramps_main.py: handle relationship loop message


svn: r2355
This commit is contained in:
Don Allingham
2003-11-20 04:18:10 +00:00
parent 1ab08c6514
commit b28d22243a
3 changed files with 13 additions and 4 deletions

View File

@@ -218,8 +218,11 @@ def get_relationship(orig_person,other_person):
if is_spouse(orig_person,other_person):
return ("spouse",[])
apply_filter(orig_person,0,firstList,firstMap)
apply_filter(other_person,0,secondList,secondMap)
try:
apply_filter(orig_person,0,firstList,firstMap)
apply_filter(other_person,0,secondList,secondMap)
except RuntimeError,msg:
return (_("Relationship loop detected"),None)
for person in firstList:
if person in secondList: