Rev 5257: Merge http-leaks into sftp-leaks in file:///home/vila/src/bzr/experimental/leaking-tests/
Vincent Ladeuil
v.ladeuil+lp at free.fr
Sat Jun 5 18:06:12 BST 2010
At file:///home/vila/src/bzr/experimental/leaking-tests/
------------------------------------------------------------
revno: 5257 [merge]
revision-id: v.ladeuil+lp at free.fr-20100605170612-6j2ijld4wqr23gbg
parent: v.ladeuil+lp at free.fr-20100605163106-qgj1uolguuo67f5b
parent: v.ladeuil+lp at free.fr-20100605170611-oyml3ruiamddmv0w
committer: Vincent Ladeuil <v.ladeuil+lp at free.fr>
branch nick: sftp-leaks
timestamp: Sat 2010-06-05 19:06:12 +0200
message:
Merge http-leaks into sftp-leaks
modified:
bzrlib/osutils.py osutils.py-20050309040759-eeaff12fbf77ac86
-------------- next part --------------
=== modified file 'bzrlib/osutils.py'
--- a/bzrlib/osutils.py 2010-06-02 13:01:24 +0000
+++ b/bzrlib/osutils.py 2010-06-05 17:06:04 +0000
@@ -2038,7 +2038,7 @@
# We don't use nor handle the timeout though
def connect_socket(address, timeout=None):
err = socket.error('getaddrinfo returns an empty list')
- for res in socket.getaddrinfo(host, port):
+ for res in socket.getaddrinfo(*address):
af, socktype, proto, canonname, sa = res
sock = None
try:
More information about the bazaar-commits
mailing list