mercurial/hgweb/hgwebdir_mod.py
changeset 2500 76ff5efe8181
parent 2391 d351a3be3371
child 2509 6350b01d173f
--- a/mercurial/hgweb/hgwebdir_mod.py	Mon Jun 26 14:52:26 2006 +0200
+++ b/mercurial/hgweb/hgwebdir_mod.py	Mon Jun 26 14:56:14 2006 +0200
@@ -60,8 +60,7 @@
                                              "footer": footer})
 
         def archivelist(ui, nodeid, url):
-            allowed = (ui.config("web", "allow_archive", "")
-                       .replace(",", " ").split())
+            allowed = ui.configlist("web", "allow_archive")
             for i in ['zip', 'gz', 'bz2']:
                 if i in allowed or ui.configbool("web", "allow" + i):
                     yield {"type" : i, "node": nodeid, "url": url}