changeset 3153:5a71d373fe8f

Fixed 1.7devTracebackOnUnknownAction
author Federico Lorenzi <cb22@cb22.za.net>
date Fri, 29 Feb 2008 16:29:12 +0200
parents 719c5bf80150
children c9ff5a31b5cd
files MoinMoin/request/__init__.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/request/__init__.py	Thu Feb 28 22:26:08 2008 +0100
+++ b/MoinMoin/request/__init__.py	Fri Feb 29 16:29:12 2008 +0200
@@ -1252,7 +1252,7 @@
                         msg += " " + _("Login and try again.")
 
                 if msg:
-                    self.request.theme.add_msg(msg, "error")
+                    self.theme.add_msg(msg, "error")
                     self.page.send_page()
                 # Try action
                 else:
@@ -1264,7 +1264,7 @@
                         if not self.user.valid:
                             # Suggest non valid user to login
                             msg += " " + _("Login and try again.")
-                        self.request.theme.add_msg(msg, "error")
+                        self.theme.add_msg(msg, "error")
                         self.page.send_page()
                     else:
                         handler(self.page.page_name, self)