Commit 32f4f31c authored by Jeremy Hylton's avatar Jeremy Hylton

getSerial() is a storage method.

Darn.  Why didn't the test suite catch this?
parent 1449af88
...@@ -347,7 +347,7 @@ class ZEOStorage: ...@@ -347,7 +347,7 @@ class ZEOStorage:
def zeoVerify(self, oid, s, sv): def zeoVerify(self, oid, s, sv):
try: try:
os = self.getSerial(oid) os = self.storage.getSerial(oid)
except KeyError: except KeyError:
self.client.invalidateVerify((oid, '')) self.client.invalidateVerify((oid, ''))
# XXX It's not clear what we should do now. The KeyError # XXX It's not clear what we should do now. The KeyError
...@@ -374,7 +374,7 @@ class ZEOStorage: ...@@ -374,7 +374,7 @@ class ZEOStorage:
else: else:
if s != os: if s != os:
self.client.invalidateVerify((oid, '')) self.client.invalidateVerify((oid, ''))
def endZeoVerify(self): def endZeoVerify(self):
self.client.endVerify() self.client.endVerify()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment