mercurial/hgweb/hgweb_mod.py
changeset 37020 16bbb15406c9
parent 37019 c97b936d8bb5
child 37046 1cfef5693203
--- a/mercurial/hgweb/hgweb_mod.py	Fri Mar 16 21:39:32 2018 +0900
+++ b/mercurial/hgweb/hgweb_mod.py	Sun Apr 03 14:16:47 2016 +0900
@@ -386,7 +386,7 @@
                 self.check_perm(rctx, req, None)
 
             if cmd == '':
-                req.qsparams['cmd'] = rctx.tmpl.cache['default']
+                req.qsparams['cmd'] = rctx.tmpl.render('default', {})
                 cmd = req.qsparams['cmd']
 
             # Don't enable caching if using a CSP nonce because then it wouldn't