diff MoinMoin/macro/TeudView.py @ 3229:09657fbd4aa2

converted to arg parser
author Reimar Bauer <rb.proj AT googlemail DOT com>
date Sun, 09 Mar 2008 19:51:01 +0100
parents b06ef2a53efa
children 162002d5b148
line wrap: on
line diff
--- a/MoinMoin/macro/TeudView.py	Sun Mar 09 16:50:57 2008 +0100
+++ b/MoinMoin/macro/TeudView.py	Sun Mar 09 19:51:01 2008 +0100
@@ -26,7 +26,7 @@
 
 Dependencies = ["time"]
 
-def execute(macro, args):
+def macro_TeudView(macro):
     if _imperr: return "Error in TeudView macro: " + str(_imperr)
 
     #dtdfile = xmldoc.getDTDPath()