diff MoinMoin/macro/OrphanedPages.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 7ae581d79352
children
line wrap: on
line diff
--- a/MoinMoin/macro/OrphanedPages.py	Sun Mar 09 16:50:57 2008 +0100
+++ b/MoinMoin/macro/OrphanedPages.py	Sun Mar 09 19:51:01 2008 +0100
@@ -8,7 +8,7 @@
 
 Dependencies = ["pages"]
 
-def execute(macro, args):
+def macro_OrphanedPages(macro):
     _ = macro.request.getText
 
     if macro.request.mode_getpagelinks: # prevent recursion