diff -r 07ddec2ea203 -r acc202b71619 mercurial/hgweb/hgwebdir_mod.py --- 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,