diff options
author | Tim Graham <timograham@gmail.com> | 2014-11-24 08:34:02 -0500 |
---|---|---|
committer | Tim Graham <timograham@gmail.com> | 2015-01-17 09:00:17 -0500 |
commit | fed25f1105ff0d5fe46cd217b29371ee7f1907f2 (patch) | |
tree | 7b5320882f1034a65047948c30d56f38b28a5ba3 /django/utils/html_parser.py | |
parent | 4e65f195e1b10d83bb7edc38c908747c4fd537b8 (diff) | |
download | django-fed25f1105ff0d5fe46cd217b29371ee7f1907f2.tar.gz |
Removed compatibility with Python 3.2.
Diffstat (limited to 'django/utils/html_parser.py')
-rw-r--r-- | django/utils/html_parser.py | 5 |
1 files changed, 1 insertions, 4 deletions
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 |