From 75e0637ea596de0b052d0ff569dcc7985f55887c Mon Sep 17 00:00:00 2001 From: Srinath Avadhanula Date: Wed, 18 Jan 2006 09:20:53 +0000 Subject: [PATCH] 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) --- ftplugin/latex-suite/outline.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ftplugin/latex-suite/outline.py b/ftplugin/latex-suite/outline.py index 11a0f03..5aad9cf 100755 --- a/ftplugin/latex-suite/outline.py +++ b/ftplugin/latex-suite/outline.py @@ -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