[Zope-Checkins] CVS: ZODB3/ZEO - StorageServer.py:1.81

Jeremy Hylton jeremy@zope.com
Tue, 26 Nov 2002 17:37:12 -0500


Update of /cvs-repository/ZODB3/ZEO
In directory cvs.zope.org:/tmp/cvs-serv15745

Modified Files:
	StorageServer.py 
Log Message:
getSerial() is a storage method.

Darn.  Why didn't the test suite catch this?


=== ZODB3/ZEO/StorageServer.py 1.80 => 1.81 ===
--- ZODB3/ZEO/StorageServer.py:1.80	Tue Nov 26 16:45:58 2002
+++ ZODB3/ZEO/StorageServer.py	Tue Nov 26 17:37:12 2002
@@ -347,7 +347,7 @@
 
     def zeoVerify(self, oid, s, sv):
         try:
-            os = self.getSerial(oid)
+            os = self.storage.getSerial(oid)
         except KeyError:
             self.client.invalidateVerify((oid, ''))
             # XXX It's not clear what we should do now.  The KeyError
@@ -374,7 +374,7 @@
             else:
                 if s != os:
                     self.client.invalidateVerify((oid, ''))
-                
+
     def endZeoVerify(self):
         self.client.endVerify()