diff MoinMoin/PageGraphicalEditor.py @ 1777:ed44b93599b5

remove unneeded request param from page.send_page()
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sun, 18 Feb 2007 21:39:36 +0100
parents fc75423e26a8
children 224e2106ab89
line wrap: on
line diff
--- a/MoinMoin/PageGraphicalEditor.py	Sun Feb 18 21:17:16 2007 +0100
+++ b/MoinMoin/PageGraphicalEditor.py	Sun Feb 18 21:39:36 2007 +0100
@@ -23,7 +23,7 @@
 def execute(pagename, request):
     if not request.user.may.write(pagename):
         _ = request.getText
-        Page(request, pagename).send_page(request, msg=_('You are not allowed to edit this page.'))
+        Page(request, pagename).send_page(msg=_('You are not allowed to edit this page.'))
         return
 
     PageGraphicalEditor(request, pagename).sendEditor()
@@ -85,7 +85,7 @@
 
         # Did one of the prechecks fail?
         if msg:
-            self.send_page(request, msg=msg)
+            self.send_page(msg=msg)
             return
 
         # check if we want to load a draft
@@ -388,8 +388,7 @@
                 content_id = 'previewbelow'
             else:
                 content_id = 'preview'
-            self.send_page(request, content_id=content_id, content_only=1,
-                           hilite_re=badwords_re)
+            self.send_page(content_id=content_id, content_only=1, hilite_re=badwords_re)
 
         request.write(request.formatter.endContent()) # end content div
         request.theme.send_footer(self.page_name)