* 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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user