# HG changeset patch # User Patrick Mezard # Date 1230940846 -3600 # Node ID 305efd897a632cdaca80a6ca05397ed8beb6c024 # Parent f03562400824201da94fa939a645646c07cbfef7 hgwebdir_mod: fix a performance issue with static files diff -r f03562400824 -r 305efd897a63 mercurial/hgweb/hgwebdir_mod.py --- 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: