Bug: Bugs on all *nix and mac systems due to the new outline.py module

(Christian Ebert)
Why: stupidly imported stringio, which works on the windows version of
     python, but not on any unix system which is case sensitive :(
Fix: use StringIO instead (Christian Ebert)
This commit is contained in:
Srinath Avadhanula
2006-01-18 09:20:53 +00:00
parent afc301c6aa
commit 75e0637ea5
+2 -2
View File
@@ -9,7 +9,7 @@
import re
import os
import sys
import stringio
import StringIO
# getFileContents {{{
def getFileContents(argin, ext=''):
@@ -59,7 +59,7 @@ def getSectionLabels_Root(lineinfo, section_prefix, label_prefix):
prev_txt = ''
inside_env = 0
prev_env = ''
outstr = stringio.StringIO('')
outstr = StringIO.StringIO('')
pres_depth = len(section_prefix)
#print '+getSectionLabels_Root: lineinfo = [%s]' % lineinfo