nickname/call name changes

svn: r6555
This commit is contained in:
Don Allingham
2006-05-05 21:16:24 +00:00
parent 508a42d6f4
commit 19236f8c67
11 changed files with 123 additions and 84 deletions

View File

@ -1601,7 +1601,10 @@ class GrampsParser:
def stop_nick(self,tag):
if self.person:
self.person.set_nick_name(tag)
attr = RelLib.Attribute()
attr.set_type(RelLib.AttributeType.NICKNAME)
attr.set_value(tag)
self.person.add_attribute(attr)
def stop_note(self,tag):
self.in_note = 0