* src/plugins/Check.py (check_parent_relationships): typo
svn: r4239
This commit is contained in:
		@@ -2,6 +2,8 @@
 | 
			
		||||
	* src/plugins/Check.py: Add check for child handle in family, that
 | 
			
		||||
	does no longer exist in database
 | 
			
		||||
 | 
			
		||||
	* src/plugins/Check.py (check_parent_relationships): typo
 | 
			
		||||
 | 
			
		||||
2005-03-25  Richard Taylor <rjt-gramps@thegrindstone.me.uk>
 | 
			
		||||
	* src/ScratchPad.py (ScratchPadWindow): moved content of pad to a 
 | 
			
		||||
	class attribute so that it is preserved when the pad is closed.
 | 
			
		||||
 
 | 
			
		||||
@@ -234,8 +234,8 @@ class CheckIntegrity:
 | 
			
		||||
        self.db.remove_family(family_handle,self.trans)
 | 
			
		||||
 | 
			
		||||
    def check_parent_relationships(self):
 | 
			
		||||
        for key in self.db.get_family_handles():
 | 
			
		||||
            family = self.db.get_family_from_handle(key)
 | 
			
		||||
        for family_handle in self.db.get_family_handles():
 | 
			
		||||
            family = self.db.get_family_from_handle(family_handle)
 | 
			
		||||
            mother_handle = family.get_mother_handle()
 | 
			
		||||
            father_handle = family.get_father_handle()
 | 
			
		||||
            if father_handle:
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user