Commit ee3c53ec authored by Grégory Wisniewski's avatar Grégory Wisniewski

ZODB's BaseStorage request a name parameter, assume it's the same as the cluster

(super constructor wasn't called before, so nothing was choosen).


git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@834 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent d1f1d0dd
......@@ -29,7 +29,7 @@ class Storage(BaseStorage.BaseStorage,
__name__ = 'NEOStorage'
def __init__(self, master_nodes, name, connector, read_only=False, **kw):
BaseStorage.BaseStorage.__init__(self)
BaseStorage.BaseStorage.__init__(self, name)
self._is_read_only = read_only
logging.basicConfig(level=logging.DEBUG, format=DEFAULT_LOG_FORMAT)
self.app = Application(master_nodes, name, connector)
......
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