Fix "templater object got multiple values for keyword argument 'motd'"
authorThomas Arendsen Hein <thomas@intevation.de>
Sat, 21 Oct 2006 20:51:24 +0200
changeset 3474 bbfb392b2b1a
parent 3473 2896ce093ec4
child 3475 03932425cfd8
Fix "templater object got multiple values for keyword argument 'motd'" caused by adding motd to the call to the index template (2896ce093ec4)
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('/'):