summaryrefslogtreecommitdiff
path: root/django
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2014-03-26 09:57:00 -0400
committerTim Graham <timograham@gmail.com>2014-03-26 10:11:12 -0400
commit4bd7411edf21f235a0a2b67f170a2bad8c37518c (patch)
tree8669f30e7b3a730a22d4200bf88aedb52a1394ae /django
parent39fc8d4b8e94d9e019148ce9d287e72b3363a7bf (diff)
[1.7.x] Fixed Python 3.4 test failure.
Backport of 45ef4baf5c from master
Diffstat (limited to 'django')
-rw-r--r--django/utils/html_parser.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/django/utils/html_parser.py b/django/utils/html_parser.py
index 6b99cd707f..efe54227d3 100644
--- a/django/utils/html_parser.py
+++ b/django/utils/html_parser.py
@@ -20,8 +20,8 @@ if not use_workaround:
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: