This is an automated email from the ASF dual-hosted git repository.

chug pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/qpid-dispatch.git


The following commit(s) were added to refs/heads/main by this push:
     new 440acaa  DISPATCH-2038: python default args must not be mutable
440acaa is described below

commit 440acaad5ff5af1938d2762325ff3566f8b662d4
Author: Chuck Rolke <c...@apache.org>
AuthorDate: Tue Apr 6 12:09:01 2021 -0400

    DISPATCH-2038: python default args must not be mutable
---
 tests/system_test.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/tests/system_test.py b/tests/system_test.py
index bc317a8..96b188c 100755
--- a/tests/system_test.py
+++ b/tests/system_test.py
@@ -943,7 +943,9 @@ class AsyncTestReceiver(MessagingHandler):
     Empty = Queue.Empty
 
     def __init__(self, address, source, conn_args=None, container_id=None,
-                 wait=True, recover_link=False, msg_args={}):
+                 wait=True, recover_link=False, msg_args=None):
+        if msg_args is None:
+            msg_args = {}
         super(AsyncTestReceiver, self).__init__(**msg_args)
         self.address = address
         self.source = source

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@qpid.apache.org
For additional commands, e-mail: commits-h...@qpid.apache.org

Reply via email to