mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-03-21 00:10:24 +00:00
Remove Python 2 ConfigParser import
This commit is contained in:
parent
f8c9faec1b
commit
dcbddfe045
1 changed files with 2 additions and 4 deletions
|
|
@ -15,11 +15,9 @@
|
|||
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
"""Parse configuration files"""
|
||||
|
||||
try: # Python 3
|
||||
from configparser import RawConfigParser
|
||||
except ImportError: # Python 2
|
||||
from ConfigParser import RawConfigParser
|
||||
from configparser import RawConfigParser
|
||||
import os
|
||||
|
||||
from .. import LinkCheckerError, get_link_pat, LOG_CHECK, log, fileutil, plugins, logconf
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue