changeset 54:5e9898574b01

text_x_arnica: import of macro moved to _make_macro
author Reimar Bauer <rb.proj AT googlemail DOT com>
date Wed, 04 Jun 2008 13:26:16 +0200
parents 64c2bb702530
children 1eb0c987a260
files data/plugin/parser/text_x_arnica.py
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/data/plugin/parser/text_x_arnica.py	Wed Jun 04 13:24:48 2008 +0200
+++ b/data/plugin/parser/text_x_arnica.py	Wed Jun 04 13:26:16 2008 +0200
@@ -19,7 +19,7 @@
 
 import os, re
 from random import randint
-from MoinMoin import caching, macro, wikiutil
+from MoinMoin import caching, wikiutil
 from MoinMoin.action import AttachFile
 from MoinMoin.packages import packLine
 from MoinMoin.Page import Page
@@ -148,6 +148,7 @@
 
     def _make_macro(self):
         """Test helper"""
+        from MoinMoin import macro
         from MoinMoin.parser.text import Parser
         from MoinMoin.formatter.text_html import Formatter
         p = Parser("##\n", self.request)