summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Heimes <christian@cheimes.de>2013-02-20 13:11:03 +0100
committerChristian Heimes <christian@cheimes.de>2013-02-20 13:11:03 +0100
commit3e53a48a70cfc4c0dd70c1e54f93cd5eb35d592d (patch)
tree87d5ecba50785d24bb6f6c08cfb91caacf0ab126
parent9fcbf217ca8f19de5ba6d7ffc59ab7495be90b42 (diff)
downloaddefusedxml-3e53a48a70cfc4c0dd70c1e54f93cd5eb35d592d.tar.gz
Add missing parser_list argument to sax.make_parser()
The argument is ignored, though. (thanks to Florian Apolloner)
-rw-r--r--CHANGES.txt3
-rw-r--r--defusedxml/sax.py2
2 files changed, 4 insertions, 1 deletions
diff --git a/CHANGES.txt b/CHANGES.txt
index e8c0224..a5bafff 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -10,6 +10,9 @@ defusedxml 0.4
CVE-2013-0278, CVE-2013-0279 and CVE-2013-0280 and use CVE-2013-1664,
CVE-2013-1665 for OpenStack/etc.
+- Add missing parser_list argument to sax.make_parser(). The argument is
+ ignored, though. (thanks to Florian Apolloner)
+
defusedxml 0.3
--------------
diff --git a/defusedxml/sax.py b/defusedxml/sax.py
index 17bba5d..4305df0 100644
--- a/defusedxml/sax.py
+++ b/defusedxml/sax.py
@@ -43,5 +43,5 @@ def parseString(string, handler, errorHandler=_ErrorHandler(),
inpsrc.setByteStream(BytesIO(string))
parser.parse(inpsrc)
-def make_parser():
+def make_parser(parser_list=[]):
return expatreader.create_parser()