summaryrefslogtreecommitdiff
path: root/django/utils/html_parser.py
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 09:57:00 -0400
commit45ef4baf5cb018acba16c269e3d470ee1de146e0 (patch)
treedb0bd3e2e7a5d9cd6b752f4e4cab8eec5fa64e15 /django/utils/html_parser.py
parentab4c96cff08b7a196807c0faaeca1b8b7ad1e8ea (diff)
downloaddjango-45ef4baf5cb018acba16c269e3d470ee1de146e0.tar.gz
Fixed Python 3.4 test failure.
Diffstat (limited to 'django/utils/html_parser.py')
-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: