changeset 1796:a373881fdf2a

Fixed wrong (copy&paste) usage of tmpl instead of self.t in hgweb.
author Thomas Arendsen Hein <thomas@intevation.de>
date Thu, 23 Feb 2006 12:35:15 +0100
parents 36e19e3da12d
children 42f75cd04bf4
files mercurial/hgweb.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/hgweb.py	Thu Feb 23 12:02:39 2006 +0100
+++ b/mercurial/hgweb.py	Thu Feb 23 12:35:15 2006 +0100
@@ -1016,7 +1016,7 @@
         elif req.form['cmd'][0] == 'static':
             fname = req.form['file'][0]
             req.write(staticfile(static, fname)
-                      or tmpl("error", error="%r not found" % fname))
+                      or self.t("error", error="%r not found" % fname))
 
         else:
             req.write(self.t("error"))