aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsrc/py/xml-rewrite-2.py2
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()