diff options
author | Patrice Clement <monsieurp@gentoo.org> | 2017-08-13 23:14:02 +0200 |
---|---|---|
committer | Patrice Clement <monsieurp@gentoo.org> | 2017-08-13 23:14:02 +0200 |
commit | c89b5735ea1e57c2f0b7ca5db181b53432d11c4b (patch) | |
tree | 6ffda7f32848c384a032a1e09417f1af5ba3140f | |
parent | reformat header (diff) | |
download | javatoolkit-c89b5735ea1e57c2f0b7ca5db181b53432d11c4b.tar.gz javatoolkit-c89b5735ea1e57c2f0b7ca5db181b53432d11c4b.tar.bz2 javatoolkit-c89b5735ea1e57c2f0b7ca5db181b53432d11c4b.zip |
assign a default value to these args
-rwxr-xr-x | src/py/xml-rewrite-2.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/py/xml-rewrite-2.py b/src/py/xml-rewrite-2.py index 5c115eb..1135cc3 100755 --- a/src/py/xml-rewrite-2.py +++ b/src/py/xml-rewrite-2.py @@ -79,7 +79,7 @@ class DomRewriter: class StreamRewriterBase: - def __init__(self, elems, attributes, values, index, + def __init__(self, elems=[], attributes=[], values=[], index, sourceElems=[], sourceAttributes=[], sourceValues=[], targetElems=[], targetAttributes=[], targetValues=[]): self.buffer = io.StringIO() |