1
0
mirror of https://github.com/spaam/svtplay-dl.git synced 2024-11-27 21:54:17 +01:00

utils: ignore pylint import-error warning

This is a python3 fallback.
This commit is contained in:
Olof Johansson 2014-07-22 10:19:10 +02:00
parent 0aa10b7b5d
commit ad98867700

View File

@ -7,9 +7,11 @@ import logging
import re
import time
import unicodedata
try:
import HTMLParser
except ImportError:
# pylint: disable-msg=import-error
import html.parser as HTMLParser
is_py2 = (sys.version_info[0] == 2)