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:
Carl Meyer 2012-03-01 16:09:01 +00:00
parent d2988ce0f4
commit 98a1e14e09
2 changed files with 1 additions and 1 deletions

View File

@ -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+')