mercurial/httprepo.py
changeset 2501 b73552a00b20
parent 2484 eabcda3ed0dd
child 2556 f1ebc4311f47
--- a/mercurial/httprepo.py	Mon Jun 26 14:56:14 2006 +0200
+++ b/mercurial/httprepo.py	Mon Jun 26 16:47:24 2006 +0200
@@ -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()])