diff mercurial/httprepo.py @ 2509:6350b01d173f

merge with wsgi changes.
author Vadim Gelfer <vadim.gelfer@gmail.com>
date Tue, 27 Jun 2006 00:10:41 -0700
parents b73552a00b20
children f1ebc4311f47
line wrap: on
line diff
--- a/mercurial/httprepo.py	Tue Jun 27 00:09:37 2006 -0700
+++ b/mercurial/httprepo.py	Tue Jun 27 00:10:41 2006 -0700
@@ -120,9 +120,8 @@
 
             # see if we should use a proxy for this url
             no_list = [ "localhost", "127.0.0.1" ]
-            no_list.extend([p.strip().lower() for
-                            p in ui.config("http_proxy", "no", '').split(',')
-                            if p.strip()])
+            no_list.extend([p.lower() for
+                            p in ui.configlist("http_proxy", "no")])
             no_list.extend([p.strip().lower() for
                             p in os.getenv("no_proxy", '').split(',')
                             if p.strip()])