diff MoinMoin/action/edit.py @ 1895:46e859ee4d2e

edit: set request.rev to default after saving for further actions
author Reimar Bauer <rb.proj AT googlemail DOT com>
date Sun, 18 Mar 2007 21:46:32 +0100
parents 64507f46beb2
children 8bd4b581cc60
line wrap: on
line diff
--- a/MoinMoin/action/edit.py	Sun Mar 18 20:31:42 2007 +0100
+++ b/MoinMoin/action/edit.py	Sun Mar 18 21:46:32 2007 +0100
@@ -171,5 +171,7 @@
         if backto:
             pg = Page(request, backto)
 
+        # sets revision number to default for further actions
+        request.rev = 0
         pg.send_page(msg=savemsg)