diff MoinMoin/action/links.py @ 617:cf420addd95c

removed MoinMoinNoFooter at many places, added call to theme.send_closing_html() where needed
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Fri, 05 May 2006 13:31:08 +0200
parents 3b08d9413589
children cb7deb83447c
line wrap: on
line diff
--- a/MoinMoin/action/links.py	Fri May 05 12:41:10 2006 +0200
+++ b/MoinMoin/action/links.py	Fri May 05 13:31:08 2006 +0200
@@ -7,10 +7,7 @@
     @copyright: 2001 by Jürgen Hermann <jh@web.de>
     @license: GNU GPL, see COPYING for details.
 """
-
 from MoinMoin import config, wikiutil
-from MoinMoin.util import MoinMoinNoFooter
-
 
 def execute(pagename, request):
     _ = request.getText
@@ -52,8 +49,7 @@
     if mimetype == "text/html":
         request.write('</pre>')
         request.theme.send_footer(pagename)
-    else:
-        raise MoinMoinNoFooter
+        request.theme.send_closing_html()
 
 def _emit(request, pagename):
     """ Send pagename, encode it if it contains spaces