changeset 5873:b8d55e162af5

redirect output of send_page call with the groups formatter, it must not be written to the output stream
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sun, 16 Sep 2012 00:00:30 +0200
parents a9e7ad80340e
children 6030e20324fc
files MoinMoin/datastruct/backends/wiki_groups.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/datastruct/backends/wiki_groups.py	Sat Sep 15 23:48:07 2012 +0200
+++ b/MoinMoin/datastruct/backends/wiki_groups.py	Sun Sep 16 00:00:30 2012 +0200
@@ -91,7 +91,7 @@
         #  * ExampleUser
         #  * TestGroup
         #
-        page.send_page(content_only=True, send_special=True)
+        self.request.redirectedOutput(page.send_page, content_only=True, send_special=True)
 
         if request_page:
             self.request.page = request_page