changeset 4071:e2107f4b6217

actions: request.run will call request.finish, do not call it in the action
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sun, 07 Sep 2008 16:14:04 +0200
parents 65bf5767d8ad
children 8bbb028087f1 ad6a0f5444e7
files MoinMoin/action/CopyPage.py MoinMoin/action/Load.py MoinMoin/action/RenamePage.py
diffstat 3 files changed, 0 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/action/CopyPage.py	Sun Sep 07 14:45:23 2008 +0200
+++ b/MoinMoin/action/CopyPage.py	Sun Sep 07 16:14:04 2008 +0200
@@ -75,7 +75,6 @@
         if success:
             url = Page(self.request, self.newpagename).url(self.request)
             self.request.http_redirect(url)
-            self.request.finish()
         else:
             self.render_msg(self.make_form(), "dialog")
 
--- a/MoinMoin/action/Load.py	Sun Sep 07 14:45:23 2008 +0200
+++ b/MoinMoin/action/Load.py	Sun Sep 07 16:14:04 2008 +0200
@@ -72,7 +72,6 @@
         if success:
             url = Page(self.request, self.pagename).url(self.request)
             self.request.http_redirect(url)
-            self.request.finish()
         else:
             self.render_msg(self.make_form(), "dialog")
 
--- a/MoinMoin/action/RenamePage.py	Sun Sep 07 14:45:23 2008 +0200
+++ b/MoinMoin/action/RenamePage.py	Sun Sep 07 16:14:04 2008 +0200
@@ -74,7 +74,6 @@
         if success:
             url = Page(self.request, self.newpagename).url(self.request)
             self.request.http_redirect(url)
-            self.request.finish()
         else:
             self.render_msg(self.make_form(), "dialog")