mirror of
https://github.com/django/django.git
synced 2025-09-26 12:09:19 +00:00
Fixed #17730 - Renamed django.utils.htmlparser to django.utils.html_parser to avoid shadowing stdlib HTMLParser in rare case-sensitivity situations. Thanks un33k for the report and gldnspud for the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17607 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
d2988ce0f4
commit
98a1e14e09
2 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@ Comparing two html documents.
|
|||
import re
|
||||
from HTMLParser import HTMLParseError
|
||||
from django.utils.encoding import force_unicode
|
||||
from django.utils.htmlparser import HTMLParser
|
||||
from django.utils.html_parser import HTMLParser
|
||||
|
||||
|
||||
WHITESPACE = re.compile('\s+')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue