changeset 3367:48acb9e0a097

action.revert: fixed doc string
author Reimar Bauer <rb.proj AT googlemail DOT com>
date Thu, 20 Mar 2008 21:20:41 +0100
parents 80ecec6e008b
children 000c9fb7efe0
files MoinMoin/action/revert.py
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/action/revert.py	Thu Mar 20 21:14:58 2008 +0100
+++ b/MoinMoin/action/revert.py	Thu Mar 20 21:20:41 2008 +0100
@@ -34,6 +34,7 @@
         return allowed, _('You are not allowed to revert this page!')
 
     def check_condition(self):
+        """ checks page and revision """
         _ = self._
         if not self.request.rev:
             # same string as in PageEditor...
@@ -48,7 +49,7 @@
             return None
 
     def do_action(self):
-        """ Delete pagename """
+        """ Revert pagename """
         _ = self._
 
         if self.request.request_method != 'POST':
@@ -79,6 +80,7 @@
         return True, msg
 
     def get_form_html(self, buttons_html):
+        """ creates the form """
         _ = self._
 
         d = {