changeset 3474: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
+++ 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('/'):