[Zope-Checkins] CVS: Zope/lib/python/DBTab - ClassFactories.py:1.2

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


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

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


=== Zope/lib/python/DBTab/ClassFactories.py 1.1 => 1.2 ===
--- Zope/lib/python/DBTab/ClassFactories.py:1.1	Sat Jul 19 22:55:58 2003
+++ Zope/lib/python/DBTab/ClassFactories.py	Thu Mar  4 17:43:06 2004
@@ -78,7 +78,7 @@
     root_conn = getattr(jar, '_root_connection', None)
     root_db = getattr(root_conn, '_db', None)
     if root_db is not None:
-        return root_db._classFactory(root_conn, module, name)
+        return root_db.classFactory(root_conn, module, name)
     else:
         return zopeClassFactory(jar, module, name)
 




More information about the Zope-Checkins mailing list