[Zodb-checkins] CVS: ZODB3/ZEO/tests - zeoserver.py:1.16

Jeremy Hylton jeremy at zope.com
Thu May 29 15:53:27 EDT 2003


Update of /cvs-repository/ZODB3/ZEO/tests
In directory cvs.zope.org:/tmp/cvs-serv2998/ZEO/tests

Modified Files:
	zeoserver.py 
Log Message:
Make sure the local variable storage is defined.


=== ZODB3/ZEO/tests/zeoserver.py 1.15 => 1.16 ===
--- ZODB3/ZEO/tests/zeoserver.py:1.15	Thu May 29 14:26:56 2003
+++ ZODB3/ZEO/tests/zeoserver.py	Thu May 29 14:53:25 2003
@@ -159,9 +159,10 @@
     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,




More information about the Zodb-checkins mailing list