changeset 4059:1d6d0d9a7c9d

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 691e12f53408
children c40f5e5560d4
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 Aug 31 21:02:09 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 Aug 31 21:02:09 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 Aug 31 21:02:09 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")