2007-08-28 Don Allingham <don@gramps-project.org>
* src/RelLib/_Person.py (Person.__init__): fix unserialize svn: r8883
This commit is contained in:
parent
3f00f17bde
commit
abdda6106d
@ -1,3 +1,6 @@
|
||||
2007-08-28 Don Allingham <don@gramps-project.org>
|
||||
* src/RelLib/_Person.py (Person.__init__): fix unserialize
|
||||
|
||||
2007-08-27 Benny Malengier <bm@cage.ugent.be>
|
||||
* src/glade/edit_person.glade: add event box for context menu
|
||||
* src/Editors/_EditPerson.py : add context menu, feature req #946
|
||||
|
@ -84,9 +84,6 @@ class Person(SourceBase, NoteBase, AttributeBase, MediaBase,
|
||||
data items have empty or null values, including the database
|
||||
handle.
|
||||
"""
|
||||
if data:
|
||||
self.unserialize(data)
|
||||
else:
|
||||
PrimaryObject.__init__(self)
|
||||
SourceBase.__init__(self)
|
||||
NoteBase.__init__(self)
|
||||
@ -104,6 +101,8 @@ class Person(SourceBase, NoteBase, AttributeBase, MediaBase,
|
||||
self.gender = Person.UNKNOWN
|
||||
self.death_ref_index = -1
|
||||
self.birth_ref_index = -1
|
||||
if data:
|
||||
self.unserialize(data)
|
||||
|
||||
# We hold a reference to the GrampsDB so that we can maintain
|
||||
# its genderStats. It doesn't get set here, but from
|
||||
|
Loading…
Reference in New Issue
Block a user