changeset 3479:bbfb392b2b1a

Fix "templater object got multiple values for keyword argument 'motd'" caused by adding motd to the call to the index template (2896ce093ec4)
author Thomas Arendsen Hein <thomas@intevation.de>
date Sat, 21 Oct 2006 20:51:24 +0200
parents 2896ce093ec4
children 03932425cfd8
files mercurial/hgweb/hgwebdir_mod.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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('/'):