Mercurial > public > mercurial-scm > hg-stable
diff mercurial/hgweb/hgweb_mod.py @ 3882:9c8488490724
Set charset encoding for hgwebdir, too.
(And remove extra spaces in the corresponding place in hgweb)
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Thu, 14 Dec 2006 16:07:29 +0100 |
parents | 713e35dcc321 |
children | 57b797601b61 6fa7a2d0fc2e |
line wrap: on
line diff
--- a/mercurial/hgweb/hgweb_mod.py Tue Dec 12 15:34:11 2006 -0600 +++ b/mercurial/hgweb/hgweb_mod.py Thu Dec 14 16:07:29 2006 +0100 @@ -655,7 +655,7 @@ def run_wsgi(self, req): def header(**map): header_file = cStringIO.StringIO( - ''.join(self.t("header", encoding = util._encoding, **map))) + ''.join(self.t("header", encoding=util._encoding, **map))) msg = mimetools.Message(header_file, 0) req.header(msg.items()) yield header_file.read()