# HG changeset patch # User Thomas Arendsen Hein # Date 1161456684 -7200 # Node ID bbfb392b2b1aa4b88e751eecf6c3bb7a47f52a77 # Parent 2896ce093ec42b480f4fedaf62f7f2db9330c2f5 Fix "templater object got multiple values for keyword argument 'motd'" caused by adding motd to the call to the index template (2896ce093ec4) diff --git a/mercurial/hgweb/hgwebdir_mod.py b/mercurial/hgweb/hgwebdir_mod.py --- a/mercurial/hgweb/hgwebdir_mod.py +++ b/mercurial/hgweb/hgwebdir_mod.py @@ -67,7 +67,7 @@ class hgwebdir(object): yield header_file.read() def footer(**map): - yield tmpl("footer", motd=self.motd, **map) + yield tmpl("footer", **map) url = req.env['REQUEST_URI'].split('?')[0] if not url.endswith('/'):