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 3479 bbfb392b2b1a
parent 3478 2896ce093ec4
child 3480 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	Sat Oct 21 20:19:46 2006 +0200
+++ b/mercurial/hgweb/hgwebdir_mod.py	Sat Oct 21 20:51:24 2006 +0200
@@ -67,7 +67,7 @@
             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('/'):