mirror of
https://github.com/gryf/pylint-vim.git
synced 2025-12-18 20:10:21 +01:00
Python3 compatibility for the StringIO
This commit is contained in:
@@ -3,7 +3,10 @@ Get pylint oputput on current buffer
|
||||
"""
|
||||
import sys
|
||||
import re
|
||||
from StringIO import StringIO
|
||||
try:
|
||||
from StringIO import StringIO
|
||||
except ImportError:
|
||||
from io import StringIO
|
||||
|
||||
try:
|
||||
from pylint import lint
|
||||
|
||||
Reference in New Issue
Block a user