Added missing 'return self' at end of unserialize to match the rest of the classes in lib.gen
svn: r13935
This commit is contained in:
parent
42ed2c3295
commit
4f3d8f3675
@ -187,6 +187,7 @@ class GrampsType(object):
|
||||
def unserialize(self, data):
|
||||
"""Convert a serialized tuple of data to an object."""
|
||||
self.__value, self.__string = data
|
||||
return self
|
||||
|
||||
def __str__(self):
|
||||
if self.__value == self._CUSTOM:
|
||||
|
@ -196,6 +196,7 @@ class Person(SourceBase, NoteBase, AttributeBase, MediaBase,
|
||||
UrlBase.unserialize(self, urls)
|
||||
SourceBase.unserialize(self, source_list)
|
||||
NoteBase.unserialize(self, note_list)
|
||||
return self
|
||||
|
||||
def _has_handle_reference(self, classname, handle):
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user