Commit 495d50b1 authored by Fred Drake's avatar Fred Drake

Update to accomodate changes in the socket-address ZConfig datatype.

parent 4cf95695
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
############################################################################## ##############################################################################
"""Open database and storage from a configuration. """Open database and storage from a configuration.
$Id: config.py,v 1.3 2003/01/06 22:42:17 jeremy Exp $""" $Id: config.py,v 1.4 2003/01/07 23:25:11 fdrake Exp $"""
import os import os
import StringIO import StringIO
...@@ -91,7 +91,7 @@ class ZEOClient(StorageConfig): ...@@ -91,7 +91,7 @@ class ZEOClient(StorageConfig):
from ZEO.ClientStorage import ClientStorage from ZEO.ClientStorage import ClientStorage
# config.server is a multikey of socket-address values # config.server is a multikey of socket-address values
# where the value is a socket family, address tuple. # where the value is a socket family, address tuple.
L = [addr for family, addr in self.config.server] L = [server.address for server in self.config.server]
return ClientStorage( return ClientStorage(
L, L,
storage=self.config.storage, storage=self.config.storage,
......
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