diff mercurial/httprepo.py @ 2501:b73552a00b20

Make "[web] allow_push, deny_push" and "[http_proxy] no" use ui.configlist.
author Thomas Arendsen Hein <thomas@intevation.de>
date Mon, 26 Jun 2006 16:47:24 +0200
parents eabcda3ed0dd
children f1ebc4311f47
line wrap: on
line diff
--- a/mercurial/httprepo.py
+++ b/mercurial/httprepo.py
@@ -120,9 +120,8 @@ class httprepository(remoterepository):
 
             # 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()])