Commit 026c1e9e by Julien Muchembled

Compatibility with ZODB 3.4.x

git-svn-id: https://svn.erp5.org/repos/neo/trunk@2793 71dcc9de-d417-0410-9af5-da40c76e7ee4
1 parent 7b4ed155
......@@ -51,9 +51,9 @@ class Storage(BaseStorage.BaseStorage,
# - transaction isolation is not done
# ZODB.interfaces.IStorageIteration,
ZODB.interfaces.IStorageUndoable,
ZODB.interfaces.IExternalGC,
getattr(ZODB.interfaces, 'IExternalGC', None), # XXX ZODB < 3.9
getattr(ZODB.interfaces, 'ReadVerifyingStorage', None), # XXX ZODB 3.9
ZODB.interfaces.IMVCCStorage,
getattr(ZODB.interfaces, 'IMVCCStorage', None), # XXX ZODB < 3.9
)))
def __init__(self, master_nodes, name, read_only=False,
......
......@@ -471,7 +471,7 @@ class NEOCluster(object):
def getTransaction(self):
txn = transaction.TransactionManager()
return txn, self.db.open(txn)
return txn, self.db.open(transaction_manager=txn)
class NEOThreadedTest(NeoUnitTestBase):
......
......@@ -12,7 +12,7 @@ if not os.path.exists('mock.py'):
extras_require = {
'admin': [],
'client': ['ZODB3 >= 3.9'],
'client': ['ZODB3'], # ZODB3 >= 3.10
'ctl': [],
'master': [],
'storage-btree': ['ZODB3'],
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!