Skip to content

Commit

Permalink
Get rid of last use of _rpc_mgr[0][1] to get the server address in the
Browse files Browse the repository at this point in the history
test suite.  The address is now found as the _addr attribute of the
client storage instance.
  • Loading branch information
gvanrossum committed Sep 10, 2002
1 parent 0bb2eb3 commit 0386718
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ZEO/tests/CommitLockTests.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ def _duplicate_client(self):
# The rpc mgr addr attribute is a list. Each element in the
# list is a socket domain (AF_INET, AF_UNIX, etc.) and an
# address.
addr = self._storage._rpc_mgr.addr[0][1]
addr = self._storage._addr
new = ZEO.ClientStorage.ClientStorage(addr, wait=1)
new.registerDB(DummyDB(), None)
return new
Expand Down

0 comments on commit 0386718

Please sign in to comment.