mirror of
https://github.com/vim-latex/vim-latex.git
synced 2026-05-26 11:24:23 +02:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user