mercurial/hgweb/hgwebdir_mod.py
changeset 8360 acc202b71619
parent 8359 07ddec2ea203
child 8371 1bd0fdf4c1ec
--- a/mercurial/hgweb/hgwebdir_mod.py	Tue May 12 10:57:55 2009 +0200
+++ b/mercurial/hgweb/hgwebdir_mod.py	Tue May 12 12:04:05 2009 +0200
@@ -8,7 +8,7 @@
 
 import os
 from mercurial.i18n import _
-from mercurial import ui, hg, util, templater, templatefilters
+from mercurial import ui, hg, util, templater
 from mercurial import error, encoding
 from common import ErrorResponse, get_mtime, staticfile, paritygen,\
                    get_contact, HTTP_OK, HTTP_NOT_FOUND, HTTP_SERVER_ERROR
@@ -304,7 +304,7 @@
 
         style = 'style' in req.form and req.form['style'][0] or self.style
         mapfile = templater.stylemap(style)
-        tmpl = templater.templater(mapfile, templatefilters.filters,
+        tmpl = templater.templater(mapfile,
                                    defaults={"header": header,
                                              "footer": footer,
                                              "motd": motd,