Attachment 'IndentTable-moin1.3.diff'

Download

   1 diff -w --ignore-tab-expansion --tabsize=4 -Nur --binary -X 'c:\moin\mypatches\ignore.txt' x13.ori/pmswiki/data/plugin/processor/IndentTable.py x13/pmswiki/data/plugin/processor/IndentTable.py
   2 --- ori/IndentTable.py	2004-11-17 14:37:06.000000000 +0100
   3 +++ my/processor/IndentTable.py	2004-11-21 08:35:00.473806400 +0100
   4 @@ -1,3 +1,4 @@
   5 +# -*- coding: iso-8859-1 -*-
   6  """
   7  MoinMoin - IndentTable.py processor
   8  
   9 @@ -154,7 +155,7 @@
  10  """
  11  
  12  from MoinMoin.parser import wiki
  13 -import cStringIO, re, string, random
  14 +import StringIO, re, string, random
  15  
  16  LETTERS = string.ascii_lowercase
  17  LETTERS_LEN = len (LETTERS)
  18 @@ -383,7 +384,7 @@
  19  def format (src_text, request, formatter):
  20      # parse the text (in wiki source format) and make HTML,
  21      # after diverting sys.stdout to a string
  22 -    str_out = cStringIO.StringIO ()     # create str to collect output
  23 +    str_out = StringIO.StringIO ()     # create str to collect output
  24      request.redirect (str_out)          # divert output to that string
  25      # parse this line
  26      wiki.Parser (src_text, request).format (formatter)

Attached Files

To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.
  • [get | view] (2004-11-21 07:56:49, 1.1 KB) [[attachment:IndentTable-moin1.3.diff]]
 All files | Selected Files: delete move to page copy to page

You are not allowed to attach a file to this page.