[Zope-Checkins] CVS: Zope/lib/python/Products/ZODBMountPoint - MountedObject.py:1.4

Jim Fulton jim at zope.com
Thu Mar 4 17:43:08 EST 2004


Update of /cvs-repository/Zope/lib/python/Products/ZODBMountPoint
In directory cvs.zope.org:/tmp/cvs-serv4551/lib/python/Products/ZODBMountPoint

Modified Files:
	MountedObject.py 
Log Message:
Removed ZODB's setClassFactory method. Rather set the classFactory
attribute on databases.


=== Zope/lib/python/Products/ZODBMountPoint/MountedObject.py 1.3 => 1.4 ===
--- Zope/lib/python/Products/ZODBMountPoint/MountedObject.py:1.3	Wed Feb 25 13:29:58 2004
+++ Zope/lib/python/Products/ZODBMountPoint/MountedObject.py	Thu Mar  4 17:43:06 2004
@@ -98,7 +98,7 @@
     def _construct(self, context, id):
         """Creates and returns the named object."""
         jar = self.base._p_jar
-        klass = jar.db()._classFactory(jar, self.module_name, self.class_name)
+        klass = jar.db().classFactory(jar, self.module_name, self.class_name)
         obj = klass(id)
         obj._setId(id)
         context._setObject(id, obj)




More information about the Zope-Checkins mailing list