Commit 17d5f2ed authored by Jeremy Hylton's avatar Jeremy Hylton

Make sure the local variable storage is defined.

parent c1387130
......@@ -159,9 +159,10 @@ def main():
test_addr = ('localhost', test_port)
addr = ('localhost', zeo_port)
log(label, 'creating the storage server')
storage = zo.storages[0].open()
server = ZEO.StorageServer.StorageServer(
zo.address,
{"1": zo.storages[0].open()},
{"1": storage},
read_only=zo.read_only,
invalidation_queue_size=zo.invalidation_queue_size,
transaction_timeout=zo.transaction_timeout,
......
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