changeset 152:faf3bc1c91a3

remove non-working and unused macro GetTextFormatted imported from: moin--main--1.5--patch-154
author Thomas Waldmann <tw@waldmann-edv.de>
date Sat, 29 Oct 2005 11:17:55 +0000
parents 226b379bde22
children c4c7dc546c65
files MoinMoin/macro/GetTextFormatted.py
diffstat 1 files changed, 0 insertions(+), 22 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/macro/GetTextFormatted.py	Fri Oct 28 12:21:11 2005 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,22 +0,0 @@
-# -*- coding: iso-8859-1 -*-
-"""
-    MoinMoin - Load I18N Text and format it
-
-    @copyright: 2004 by Johannes Berg <johannes@sipsolutions.de>
-    @license: GNU GPL, see COPYING for details.
-"""
-
-Dependencies = ["language"]
-
-from MoinMoin import config
-
-def execute(macro, args):
-    d = {
-        ## add other allowed stuff here
-        'page_template_regex': config.page_template_regex,
-    }
-
-    return macro.formatter.text(
-        macro.request.getText(args).replace('<br>', '\n') % d
-    )
-