mercurial/hgweb.py
changeset 1898 e517189f168d
parent 1897 58b6784cf9f1
child 1920 b7cc0f323a4c
--- a/mercurial/hgweb.py
+++ b/mercurial/hgweb.py
@@ -1022,8 +1022,8 @@ class hgwebdir(object):
             yield tmpl("footer", **map)
 
         m = os.path.join(templater.templatepath(), "map")
-        tmpl = templater(m, common_filters,
-                         {"header": header, "footer": footer})
+        tmpl = templater.templater(m, templater.common_filters,
+                                   {"header": header, "footer": footer})
 
         def entries(**map):
             parity = 0