family type defaults to "" if type not specified

svn: r315
This commit is contained in:
Don Allingham 2001-08-08 02:35:17 +00:00
parent df32568375
commit 1930405a09

View File

@ -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("")
#---------------------------------------------------------------------
#