diff MoinMoin/macro/__init__.py @ 2725:388204baf00f

change [[macro]] to <<macro>> in all built-in markup
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sun, 12 Aug 2007 23:42:33 +0200
parents fb88a3706761
children cdda42a9d8a8
line wrap: on
line diff
--- a/MoinMoin/macro/__init__.py	Sun Aug 12 20:18:28 2007 +0200
+++ b/MoinMoin/macro/__init__.py	Sun Aug 12 23:42:33 2007 +0200
@@ -45,7 +45,7 @@
 
 
 #############################################################################
-### Macros - Handlers for [[macroname]] markup
+### Macros - Handlers for <<macroname>> markup
 #############################################################################
 
 class Macro:
@@ -101,7 +101,7 @@
 
     def format_error(self, err):
         """ format an error object for output instead of normal macro output """
-        return self.formatter.text(u'[[%s: %s]]' % (self.name, err.args[0]))
+        return self.formatter.text(u'<<%s: %s>>' % (self.name, err.args[0]))
 
     def execute(self, macro_name, args):
         """ Get and execute a macro