Python3 compatibility for the StringIO

This commit is contained in:
2017-03-13 21:13:34 +01:00
parent 2565ed7c96
commit 0a2c744bd9
+4 -1
View File
@@ -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