Commit 94723259 authored by Kirill Smelkov's avatar Kirill Smelkov

fixup! Handle NotImplementedError raised by loadBefore/loadBeforeEx as "interface not provided"

loadBeforeEx uses the same docstring as loadBefore as @d-maurer suggests:

https://github.com/zopefoundation/ZODB/pull/323#discussion_r626255153
parent a640cb90
...@@ -272,8 +272,8 @@ class BaseStorage(UndoLogCompatible): ...@@ -272,8 +272,8 @@ class BaseStorage(UndoLogCompatible):
"""Return most recent revision of oid before tid committed.""" """Return most recent revision of oid before tid committed."""
raise NotImplementedError raise NotImplementedError
def loadBeforeEx(self, oid, before): def loadBeforeEx(self, oid, tid):
"""Return most recent revision of oid as of <before database state. """Return most recent revision of oid before tid committed.
(see IStorageLoadBeforeEx). (see IStorageLoadBeforeEx).
""" """
raise NotImplementedError raise NotImplementedError
......
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