comparison 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
comparison
equal deleted inserted replaced
3228:c7fabea3fb4f 3229:09657fbd4aa2
24 24
25 from MoinMoin import config, wikiutil 25 from MoinMoin import config, wikiutil
26 26
27 Dependencies = ["time"] 27 Dependencies = ["time"]
28 28
29 def execute(macro, args): 29 def macro_TeudView(macro):
30 if _imperr: return "Error in TeudView macro: " + str(_imperr) 30 if _imperr: return "Error in TeudView macro: " + str(_imperr)
31 31
32 #dtdfile = xmldoc.getDTDPath() 32 #dtdfile = xmldoc.getDTDPath()
33 xslfile = xmldoc.getDataPath('webde.xsl') 33 xslfile = xmldoc.getDataPath('webde.xsl')
34 pagename = macro.formatter.page.page_name 34 pagename = macro.formatter.page.page_name