[Moin-devel] CVS: MoinMoin wikiaction.py,1.50,1.51

J?rgen Hermann jhermann at users.sourceforge.net
Fri Feb 1 14:54:10 EST 2002


Update of /cvsroot/moin/MoinMoin
In directory usw-pr-cvs1:/tmp/cvs-serv11576

Modified Files:
	wikiaction.py 
Log Message:
EventStats macro and chart action


Index: wikiaction.py
===================================================================
RCS file: /cvsroot/moin/MoinMoin/wikiaction.py,v
retrieving revision 1.50
retrieving revision 1.51
diff -C2 -r1.50 -r1.51
*** wikiaction.py	2002/01/23 21:48:31	1.50
--- wikiaction.py	2002/02/01 22:53:40	1.51
***************
*** 515,518 ****
--- 515,525 ----
  
  
+ def do_chart(pagename, form):
+     macro_name = form['macro'].value
+     func = util.importName("MoinMoin.macro." + macro_name, "chart")
+     apply(func, (pagename, form))
+     sys.exit(0)
+ 
+ 
  def do_export(pagename, form):
      import shutil, cStringIO





More information about the Moin-devel mailing list