Rev 4808: (vila) pycurl can't always connect direct to 'localhost' because of in file:///home/pqm/archives/thelove/bzr/%2Btrunk/

Canonical.com Patch Queue Manager pqm at pqm.ubuntu.com
Wed Nov 18 17:32:51 GMT 2009


At file:///home/pqm/archives/thelove/bzr/%2Btrunk/

------------------------------------------------------------
revno: 4808 [merge]
revision-id: pqm at pqm.ubuntu.com-20091118173251-z5gh93fnn18bw4on
parent: pqm at pqm.ubuntu.com-20091118061814-695imx80olc79o7l
parent: v.ladeuil+lp at free.fr-20091118160253-11zt6hr4luwpw0ur
committer: Canonical.com Patch Queue Manager <pqm at pqm.ubuntu.com>
branch nick: +trunk
timestamp: Wed 2009-11-18 17:32:51 +0000
message:
  (vila) pycurl can't always connect direct to 'localhost' because of
  	IPv4/v6 changes.
modified:
  bzrlib/tests/test_http.py      testhttp.py-20051018020158-b2eef6e867c514d9
=== modified file 'bzrlib/tests/test_http.py'
--- a/bzrlib/tests/test_http.py	2009-10-30 09:34:50 +0000
+++ b/bzrlib/tests/test_http.py	2009-11-18 16:02:53 +0000
@@ -1178,7 +1178,7 @@
         if self._testing_pycurl():
             # Oh my ! pycurl does not check for the port as part of
             # no_proxy :-( So we just test the host part
-            self.no_proxy_host = 'localhost'
+            self.no_proxy_host = self.server.host
         else:
             self.no_proxy_host = self.proxy_address
         # The secondary server is the proxy




More information about the bazaar-commits mailing list