diff options
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 |