mercurial/hgweb/hgweb_mod.py
changeset 8360 acc202b71619
parent 8225 46293a0c7e9f
child 8390 beae42f3d93b
--- a/mercurial/hgweb/hgweb_mod.py	Tue May 12 10:57:55 2009 +0200
+++ b/mercurial/hgweb/hgweb_mod.py	Tue May 12 12:04:05 2009 +0200
@@ -7,8 +7,7 @@
 # GNU General Public License version 2, incorporated herein by reference.
 
 import os
-from mercurial import ui, hg, util, hook, error, encoding
-from mercurial import templater, templatefilters
+from mercurial import ui, hg, util, hook, error, encoding, templater
 from common import get_mtime, ErrorResponse
 from common import HTTP_OK, HTTP_BAD_REQUEST, HTTP_NOT_FOUND, HTTP_SERVER_ERROR
 from common import HTTP_UNAUTHORIZED, HTTP_METHOD_NOT_ALLOWED
@@ -246,7 +245,7 @@
 
         # create the templater
 
-        tmpl = templater.templater(mapfile, templatefilters.filters,
+        tmpl = templater.templater(mapfile,
                                    defaults={"url": req.url,
                                              "staticurl": staticurl,
                                              "urlbase": urlbase,