From fed25f1105ff0d5fe46cd217b29371ee7f1907f2 Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Mon, 24 Nov 2014 08:34:02 -0500 Subject: Removed compatibility with Python 3.2. --- django/utils/html_parser.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'django/utils/html_parser.py') diff --git a/django/utils/html_parser.py b/django/utils/html_parser.py index ab1f654978..4aff4a9a78 100644 --- a/django/utils/html_parser.py +++ b/django/utils/html_parser.py @@ -4,10 +4,7 @@ import sys current_version = sys.version_info -use_workaround = ( - (current_version < (2, 7, 3)) or - (current_version >= (3, 0) and current_version < (3, 2, 3)) -) +use_workaround = current_version < (2, 7, 3) try: HTMLParseError = _html_parser.HTMLParseError -- cgit v1.3