[Zodb-checkins] CVS: Zope3/src/zodb/zeo - server.py:1.6.2.6

Jeremy Hylton jeremy@zope.com
Fri, 14 Feb 2003 15:38:40 -0500


Update of /cvs-repository/Zope3/src/zodb/zeo
In directory cvs.zope.org:/tmp/cvs-serv32013/zeo

Modified Files:
      Tag: ZODB3-2-integration-branch
	server.py 
Log Message:
Don't delegate loadSerial() unless the storage implements it.



=== Zope3/src/zodb/zeo/server.py 1.6.2.5 => 1.6.2.6 ===
--- Zope3/src/zodb/zeo/server.py:1.6.2.5	Thu Feb 13 12:57:04 2003
+++ Zope3/src/zodb/zeo/server.py	Fri Feb 14 15:38:39 2003
@@ -110,10 +110,11 @@
         self.versionEmpty = self.storage.versionEmpty
         self.versions = self.storage.versions
         self.load = self.storage.load
-        self.loadSerial = self.storage.loadSerial
         self.modifiedInVersion = self.storage.modifiedInVersion
         self.getVersion = self.storage.getVersion
         self.setVersion = self.storage.setVersion
+        if IUndoStorage.isImplementedBy(self.storage):
+            self.loadSerial = self.storage.loadSerial
         try:
             fn = self.storage.getExtensionMethods
         except AttributeError: