Mercurial > hg
changeset 7560:305efd897a63
hgwebdir_mod: fix a performance issue with static files
author | Patrick Mezard <pmezard@gmail.com> |
---|---|
date | Sat, 03 Jan 2009 01:00:46 +0100 |
parents | f03562400824 |
children | fa23d169a895 de7b12a23ba0 |
files | mercurial/hgweb/hgwebdir_mod.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/hgweb/hgwebdir_mod.py Wed Dec 31 17:38:35 2008 -0600 +++ b/mercurial/hgweb/hgwebdir_mod.py Sat Jan 03 01:00:46 2009 +0100 @@ -130,7 +130,7 @@ else: fname = req.form['static'][0] static = templater.templatepath('static') - return staticfile(static, fname, req) + return (staticfile(static, fname, req),) # top-level index elif not virtual: