[Moin-devel] CVS: MoinMoin/macro Include.py,1.7,1.8

J?rgen Hermann jhermann at users.sourceforge.net
Wed Apr 17 15:20:10 EDT 2002


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

Modified Files:
	Include.py 
Log Message:
[ 545364 ] TypeError: not enough arguments


Index: Include.py
===================================================================
RCS file: /cvsroot/moin/MoinMoin/macro/Include.py,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -r1.7 -r1.8
*** Include.py	17 Apr 2002 21:04:46 -0000	1.7
--- Include.py	17 Apr 2002 22:19:10 -0000	1.8
***************
*** 50,54 ****
      if this_page._macroInclude_pagelist.has_key(inc_name):
          ret = ret + '<p><strong class="error">Recursive include of "%s" forbidden</strong></p>' % (inc_name,)
!     inc_page = Page(inc_name, formatter=macro.formatter.__class__())
      inc_page._macroInclude_pagelist = this_page._macroInclude_pagelist
  
--- 50,54 ----
      if this_page._macroInclude_pagelist.has_key(inc_name):
          ret = ret + '<p><strong class="error">Recursive include of "%s" forbidden</strong></p>' % (inc_name,)
!     inc_page = Page(inc_name, formatter=macro.formatter.__class__(macro.request))
      inc_page._macroInclude_pagelist = this_page._macroInclude_pagelist
  





More information about the Moin-devel mailing list