Fix typo: HTMLParser.HTMLParseError -> HTMLParseError

This commit is contained in:
Christopher Van 2013-09-16 11:37:59 -07:00
Родитель e4cc2ea244
Коммит f5b2c400c3
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -7,7 +7,7 @@ from . import csstester
from appvalidator.contextgenerator import ContextGenerator
from appvalidator.constants import *
from appvalidator.csp import warn as message_csp
from appvalidator.python.HTMLParser import HTMLParser
from appvalidator.python.HTMLParser import HTMLParser, HTMLParseError
DEBUG = False
@ -107,7 +107,7 @@ class MarkupParser(HTMLParser):
# There's no recovering from a unicode error here. We've got the
# unicodehelper; if that doesn't help us, nothing will.
return
except HTMLParser.HTMLParseError as inst:
except HTMLParseError as inst:
if DEBUG: # pragma: no cover
print self.xml_state, inst