1 |
commit: c89b5735ea1e57c2f0b7ca5db181b53432d11c4b |
2 |
Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Aug 13 21:14:02 2017 +0000 |
4 |
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Aug 13 21:14:02 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/javatoolkit.git/commit/?id=c89b5735 |
7 |
|
8 |
assign a default value to these args |
9 |
|
10 |
src/py/xml-rewrite-2.py | 2 +- |
11 |
1 file changed, 1 insertion(+), 1 deletion(-) |
12 |
|
13 |
diff --git a/src/py/xml-rewrite-2.py b/src/py/xml-rewrite-2.py |
14 |
index 5c115eb..1135cc3 100755 |
15 |
--- a/src/py/xml-rewrite-2.py |
16 |
+++ b/src/py/xml-rewrite-2.py |
17 |
@@ -79,7 +79,7 @@ class DomRewriter: |
18 |
|
19 |
|
20 |
class StreamRewriterBase: |
21 |
- def __init__(self, elems, attributes, values, index, |
22 |
+ def __init__(self, elems=[], attributes=[], values=[], index, |
23 |
sourceElems=[], sourceAttributes=[], sourceValues=[], |
24 |
targetElems=[], targetAttributes=[], targetValues=[]): |
25 |
self.buffer = io.StringIO() |