fix lds unserialize
svn: r6271
This commit is contained in:
parent
57bdd3a7f3
commit
4f1d230de1
@ -1,3 +1,7 @@
|
||||
2006-04-05 Don Allingham <don@gramps-project.org>
|
||||
* src/RelLib/_LdsOrd.py: unserialize returns self
|
||||
* src/RelLib/_LdsOrdBase.py: variable name change
|
||||
|
||||
2006-04-04 Brian Matherly <pez4brian@users.sourceforge.net>
|
||||
* src/_ImgManip.py: open images as binary
|
||||
* src/docgen/ODFDoc.py: open images as binary, fix image embedding
|
||||
|
@ -96,6 +96,7 @@ class LdsOrd(SourceNote,DateBase,PlaceBase,PrivacyBase):
|
||||
self.famc,self.temple,self.status) = data
|
||||
SourceNote.unserialize(self,sn)
|
||||
DateBase.unserialize(self,date)
|
||||
return self
|
||||
|
||||
def get_text_data_list(self):
|
||||
"""
|
||||
|
@ -57,7 +57,7 @@ class LdsOrdBase:
|
||||
self.lds_ord_list = []
|
||||
|
||||
def serialize(self):
|
||||
return [addr.serialize() for addr in self.lds_ord_list]
|
||||
return [lds_ord.serialize() for lds_ord in self.lds_ord_list]
|
||||
|
||||
def unserialize(self,data):
|
||||
self.lds_ord_list = [LdsOrd().unserialize(item) for item in data]
|
||||
|
Loading…
Reference in New Issue
Block a user