Mercurial > hg
diff mercurial/hgweb.py @ 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 | a9343f9d7365 f8f818a04f5b |
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"))