Restore the ConfigParser import, used by the flake8.hooks

This commit is contained in:
Florent Xicluna 2013-02-13 19:27:43 +01:00
parent 4f57016809
commit 16b9fe108c

View file

@ -7,6 +7,13 @@ import pep8
import pyflakes
from pyflakes import reporter, messages
try:
# Python 2
from ConfigParser import ConfigParser
except ImportError:
# Python 3
from configparser import ConfigParser
pep8style = None