Removing InstanceType calls from gen.lib modules. Required by the

GrampsTypeMeta changes.


svn: r10399
This commit is contained in:
Zsolt Foldvari
2008-03-25 23:38:24 +00:00
parent 8e5591ee16
commit 93998976ff
14 changed files with 66 additions and 109 deletions

View File

@@ -23,13 +23,6 @@
"""
Child Reference class for GRAMPS.
"""
#-------------------------------------------------------------------------
#
# standard python modules
#
#-------------------------------------------------------------------------
from types import InstanceType
#-------------------------------------------------------------------------
#
# GRAMPS modules
@@ -88,9 +81,9 @@ class ChildRef(SecondaryObject, PrivacyBase, SourceBase, NoteBase, RefBase):
SourceBase.unserialize(self, source_list)
NoteBase.unserialize(self, note_list)
RefBase.unserialize(self, ref)
self.frel = InstanceType(ChildRefType)
self.frel = ChildRefType()
self.frel.unserialize(frel)
self.mrel = InstanceType(ChildRefType)
self.mrel = ChildRefType()
self.mrel.unserialize(mrel)
return self