Mercurial > public > mercurial-scm > hg
diff mercurial/hgweb/hgwebdir_mod.py @ 2509:6350b01d173f
merge with wsgi changes.
author | Vadim Gelfer <vadim.gelfer@gmail.com> |
---|---|
date | Tue, 27 Jun 2006 00:10:41 -0700 |
parents | d0db3462d568 76ff5efe8181 |
children | 419c42223bee |
line wrap: on
line diff
--- a/mercurial/hgweb/hgwebdir_mod.py Tue Jun 27 00:09:37 2006 -0700 +++ b/mercurial/hgweb/hgwebdir_mod.py Tue Jun 27 00:10:41 2006 -0700 @@ -59,8 +59,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}