2007-08-30 Don Allingham <don@gramps-project.org>

* src/RelLib/_MediaObject.py (MediaObject.unserialize): fix init of
	self.marker



svn: r8894
This commit is contained in:
Don Allingham 2007-08-30 11:46:55 +00:00
parent 7c54988667
commit fafd500642
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2007-08-30 Don Allingham <don@gramps-project.org>
* src/RelLib/_MediaObject.py (MediaObject.unserialize): fix init of
self.marker
2007-08-30 Stephane Charette <stephanecharette@gmail.com>
* src/FilterEditor/_EditRule.py: new reference count filters
* src/Filters/Rules/Repository/__init__.py: new reference count filters

View File

@ -119,7 +119,8 @@ class MediaObject(SourceBase,NoteBase,DateBase,AttributeBase,PrimaryObject):
attribute_list, source_list, note_list, self.change,
date, marker, self.private) = data
self.marker = new.instance(MarkerType, None).unserialize(marker)
self.marker = new.instance(MarkerType, None)
self.marker.unserialize(marker)
AttributeBase.unserialize(self, attribute_list)
SourceBase.unserialize(self, source_list)
NoteBase.unserialize(self, note_list)