[Moin-devel] CVS: MoinMoin/macro Include.py,1.9,1.10

J?rgen Hermann jhermann at users.sourceforge.net
Thu May 23 12:09:07 EDT 2002


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

Modified Files:
	Include.py 
Log Message:
request.mode_getpagelinks as a guard for macros


Index: Include.py
===================================================================
RCS file: /cvsroot/moin/MoinMoin/macro/Include.py,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -r1.9 -r1.10
*** Include.py	21 May 2002 20:57:17 -0000	1.9
--- Include.py	23 May 2002 19:01:33 -0000	1.10
***************
*** 37,40 ****
--- 37,44 ----
      ret = ''
  
+     # return immediately if getting links for the current page
+     if macro.request.mode_getpagelinks:
+         return ret
+ 
      # parse and check arguments
      args = args_re.match(text)





More information about the Moin-devel mailing list