Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[1.7.x] Fixed Python 3.4 test failure.

Backport of 45ef4ba from master
  • Loading branch information...
commit 4bd7411edf21f235a0a2b67f170a2bad8c37518c 1 parent 39fc8d4
@timgraham timgraham authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 django/utils/html_parser.py
View
4 django/utils/html_parser.py
@@ -20,8 +20,8 @@ class HTMLParser(_html_parser.HTMLParser):
it at call time because Python 2.7 does not have the keyword
argument.
"""
- def __init__(self, convert_charrefs=False):
- _html_parser.HTMLParser.__init__(self, convert_charrefs=convert_charrefs)
+ def __init__(self, convert_charrefs=False, **kwargs):
+ _html_parser.HTMLParser.__init__(self, convert_charrefs=convert_charrefs, **kwargs)
else:
HTMLParser = _html_parser.HTMLParser
else:
Please sign in to comment.
Something went wrong with that request. Please try again.