[Vim-latex-cvs] vimfiles/ftplugin/latex-suite outline.py,1.3,1.4
Brought to you by:
srinathava,
tmaas
From: <sri...@us...> - 2006-01-18 09:21:02
|
Update of /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16811 Modified Files: outline.py Log Message: 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) Index: outline.py =================================================================== RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/outline.py,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** outline.py 2 Jan 2006 07:20:37 -0000 1.3 --- outline.py 18 Jan 2006 09:20:53 -0000 1.4 *************** *** 10,14 **** import os import sys ! import stringio # getFileContents {{{ --- 10,14 ---- import os import sys ! import StringIO # getFileContents {{{ *************** *** 60,64 **** inside_env = 0 prev_env = '' ! outstr = stringio.StringIO('') pres_depth = len(section_prefix) --- 60,64 ---- inside_env = 0 prev_env = '' ! outstr = StringIO.StringIO('') pres_depth = len(section_prefix) |