changeset 2561:d9c2701a0a5d

'port' BR macro to new system, document it
author Johannes Berg <johannes AT sipsolutions DOT net>
date Wed, 25 Jul 2007 13:41:53 +0200
parents 575541d1fdb4
children b76d66ed0251
files MoinMoin/macro/BR.py
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/macro/BR.py	Wed Jul 25 10:50:17 2007 +0200
+++ b/MoinMoin/macro/BR.py	Wed Jul 25 13:41:53 2007 +0200
@@ -10,6 +10,8 @@
 
 Dependencies = []
 
-def execute(macro, args):
+def macro_BR(macro):
+    """
+    Creates a linebreak.
+    """
     return macro.formatter.linebreak(0)
-