* src/GrampsDb/_ReadGedcom.py: handle _UID for FAM structure (#0000505)
svn: r7694
This commit is contained in:
		@@ -1,4 +1,5 @@
 | 
			
		||||
2006-11-25  Don Allingham  <don@gramps-project.org>
 | 
			
		||||
	* src/GrampsDb/_ReadGedcom.py: handle _UID for FAM structure (#0000505)
 | 
			
		||||
	* src/docgen/ODFDoc.py: don't query mime type for ODT, since some systems
 | 
			
		||||
	return only "ODT Document", which is kind of useless. Use OpenDocument Text
 | 
			
		||||
	instead.
 | 
			
		||||
 
 | 
			
		||||
@@ -1297,6 +1297,11 @@ class GedcomParser(UpdateCallback):
 | 
			
		||||
 | 
			
		||||
            if self.level_is_finished(matches, 1):
 | 
			
		||||
                break
 | 
			
		||||
            if matches[1] == TOKEN__UID:
 | 
			
		||||
                a = RelLib.Attribute()
 | 
			
		||||
                a.set_type((RelLib.AttributeType.CUSTOM, matches[3]))
 | 
			
		||||
                a.set_value(matches[2])
 | 
			
		||||
                self.family.add_attribute(a)
 | 
			
		||||
            else:
 | 
			
		||||
                func = self.family_func.get(matches[1], self.func_family_event)
 | 
			
		||||
                func(self.family, matches, 2)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user