mercurial/hgweb/hgweb_mod.py
changeset 5976 9f1e6ab76069
parent 5964 1cd1582ef25f
child 5993 948a41e77902
--- a/mercurial/hgweb/hgweb_mod.py	Thu Jan 31 14:44:19 2008 -0600
+++ b/mercurial/hgweb/hgweb_mod.py	Thu Jan 31 14:44:19 2008 -0600
@@ -9,7 +9,7 @@
 import os, mimetypes, re
 from mercurial.node import *
 from mercurial import mdiff, ui, hg, util, archival, patch, hook
-from mercurial import revlog, templater
+from mercurial import revlog, templater, templatefilters
 from common import ErrorResponse, get_mtime, style_map, paritygen, get_contact
 from request import wsgirequest
 import webcommands, protocol
@@ -288,7 +288,7 @@
 
         # create the templater
 
-        tmpl = templater.templater(mapfile, templater.common_filters,
+        tmpl = templater.templater(mapfile, templatefilters.filters,
                                    defaults={"url": req.url,
                                              "staticurl": staticurl,
                                              "urlbase": urlbase,