Commit dfa89729 authored by Vincent Pelletier's avatar Vincent Pelletier

Provide IExternalGC.

...and fix its declaration.

git-svn-id: https://svn.erp5.org/repos/neo/trunk@2514 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent ef4ad531
......@@ -52,6 +52,7 @@ class Storage(BaseStorage.BaseStorage,
# - transaction isolation is not done
# ZODB.interfaces.IStorageIteration,
ZODB.interfaces.IStorageUndoable,
ZODB.interfaces.IExternalGC,
)
def __init__(self, master_nodes, name, connector=None, read_only=False,
......@@ -105,7 +106,7 @@ class Storage(BaseStorage.BaseStorage,
data=data, version=version, transaction=transaction)
@check_read_only
def deleteObject(oid, serial, transaction):
def deleteObject(self, oid, serial, transaction):
self.app.store(oid=oid, serial=serial, data='', version=None,
transaction=transaction)
......
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