family type defaults to "" if type not specified
svn: r315
This commit is contained in:
parent
df32568375
commit
1930405a09
@ -278,6 +278,8 @@ class GrampsParser(handler.ContentHandler):
|
||||
self.family = self.db.findFamilyNoMap(u2l(attrs["id"]))
|
||||
if attrs.has_key("type"):
|
||||
self.family.setRelationship(u2l(attrs["type"]))
|
||||
else:
|
||||
self.family.setRelationship("")
|
||||
|
||||
#---------------------------------------------------------------------
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user