Permalink
Browse files

Fixed #17730 - Renamed django.utils.htmlparser to django.utils.html_p…

…arser 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
  • Loading branch information...
1 parent d2988ce commit 98a1e14e093211f15e91daa4c9de0402be5d31b8 @carljm carljm committed Mar 1, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 django/test/html.py
  2. 0 django/utils/{htmlparser.py → html_parser.py}
View
@@ -4,7 +4,7 @@
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+')
File renamed without changes.

0 comments on commit 98a1e14

Please sign in to comment.