From 98a1e14e093211f15e91daa4c9de0402be5d31b8 Mon Sep 17 00:00:00 2001 From: Carl Meyer Date: Thu, 1 Mar 2012 16:09:01 +0000 Subject: [PATCH] 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 --- django/test/html.py | 2 +- django/utils/{htmlparser.py => html_parser.py} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename django/utils/{htmlparser.py => html_parser.py} (100%) 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+') diff --git a/django/utils/htmlparser.py b/django/utils/html_parser.py similarity index 100% rename from django/utils/htmlparser.py rename to django/utils/html_parser.py