Commit 51ebc569 authored by Toby Dickenson's avatar Toby Dickenson

Added empty implementation of getExtensionMethods to storage base class

parent ab820183
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
""" """
# Do this portably in the face of checking out with -kv # Do this portably in the face of checking out with -kv
import string import string
__version__ = string.split('$Revision: 1.25 $')[-2:][0] __version__ = string.split('$Revision: 1.26 $')[-2:][0]
import cPickle import cPickle
import ThreadLock, bpthread import ThreadLock, bpthread
...@@ -231,6 +231,18 @@ class BaseStorage(UndoLogCompatible.UndoLogCompatible): ...@@ -231,6 +231,18 @@ class BaseStorage(UndoLogCompatible.UndoLogCompatible):
raise POSException.Unsupported, ( raise POSException.Unsupported, (
"Retrieval of historical revisions is not supported") "Retrieval of historical revisions is not supported")
def getExtensionMethods(self):
"""getExtensionMethods
This returns a dictionary whose keys are names of extra methods
provided by this storage. Storage proxies (such as ZEO) should
call this method to determine the extra methods that they need
to proxy in addition to the standard storage methods.
Dictionary values should be None; this will be a handy place
for extra marshalling information, should we need it
"""
return {}
def copyTransactionsFrom(self, other, verbose=0): def copyTransactionsFrom(self, other, verbose=0):
"""Copy transactions from another storage. """Copy transactions from another storage.
......
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