Rev 5278: Fix global name "host" is not defined in file:///home/vila/src/bzr/experimental/for-babune/
Vincent Ladeuil
v.ladeuil+lp at free.fr
Sat Jun 5 18:06:41 BST 2010
At file:///home/vila/src/bzr/experimental/for-babune/
------------------------------------------------------------
revno: 5278 [merge]
revision-id: v.ladeuil+lp at free.fr-20100605170641-qy9v7xqepz98yjh8
parent: v.ladeuil+lp at free.fr-20100605163521-u4iqsyyetweyo0hi
parent: v.ladeuil+lp at free.fr-20100605170613-rw94320vew1d2wdx
committer: Vincent Ladeuil <v.ladeuil+lp at free.fr>
branch nick: for-babune
timestamp: Sat 2010-06-05 19:06:41 +0200
message:
Fix global name "host" is not defined
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