public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Patrice Clement" <monsieurp@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/javatoolkit:master commit in: src/py/
Date: Sun, 13 Aug 2017 21:14:09 +0000 (UTC)	[thread overview]
Message-ID: <1502658842.c89b5735ea1e57c2f0b7ca5db181b53432d11c4b.monsieurp@gentoo> (raw)

commit:     c89b5735ea1e57c2f0b7ca5db181b53432d11c4b
Author:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 13 21:14:02 2017 +0000
Commit:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Sun Aug 13 21:14:02 2017 +0000
URL:        https://gitweb.gentoo.org/proj/javatoolkit.git/commit/?id=c89b5735

assign a default value to these args

 src/py/xml-rewrite-2.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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()


             reply	other threads:[~2017-08-13 21:14 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-13 21:14 Patrice Clement [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-06-19 17:09 [gentoo-commits] proj/javatoolkit:master commit in: src/py/ Miroslav Šulc
2020-12-15 10:21 Miroslav Šulc
2020-07-15 20:15 Patrice Clement
2019-10-29 21:21 Miroslav Šulc
2019-10-29 20:54 Miroslav Šulc
2017-08-13 22:15 Patrice Clement
2017-08-13 19:06 Patrice Clement
2017-08-13 19:06 Patrice Clement
2017-08-12  8:50 Patrice Clement
2017-08-12  8:50 Patrice Clement
2017-08-12  8:50 Patrice Clement
2017-08-12  8:50 Patrice Clement
2017-08-12  8:50 Patrice Clement
2017-08-12  8:50 Patrice Clement
2017-08-11 13:12 Patrice Clement
2017-08-09 22:35 Patrice Clement
2017-08-07 23:48 Patrice Clement
2017-08-07 23:48 Patrice Clement
2017-08-07 23:48 Patrice Clement

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1502658842.c89b5735ea1e57c2f0b7ca5db181b53432d11c4b.monsieurp@gentoo \
    --to=monsieurp@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox