diff options
| author | Carl Meyer <carl@oddbird.net> | 2012-03-01 16:09:01 +0000 |
|---|---|---|
| committer | Carl Meyer <carl@oddbird.net> | 2012-03-01 16:09:01 +0000 |
| commit | 98a1e14e093211f15e91daa4c9de0402be5d31b8 (patch) | |
| tree | 2ffa72b7a8877acc56fcc525b4c50be43adb63cf /django/test/html.py | |
| parent | d2988ce0f4eb3e021ed317f7d0347e1f48481f37 (diff) | |
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
Diffstat (limited to 'django/test/html.py')
| -rw-r--r-- | django/test/html.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/test/html.py b/django/test/html.py index ff073ba728..f1e4897efd 100644 --- a/django/test/html.py +++ b/django/test/html.py @@ -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+') |
