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

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


The following commit(s) were added to refs/heads/master by this push:
     new c5f3d9f  NO-JIRA: Fix python 2/3 syntax issue
c5f3d9f is described below

commit c5f3d9f7ac1181372852f20c406bc217d6dc8f28
Author: Chuck Rolke <c...@apache.org>
AuthorDate: Tue Apr 9 11:30:40 2019 -0400

    NO-JIRA: Fix python 2/3 syntax issue
---
 tests/system_tests_multicast.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/system_tests_multicast.py b/tests/system_tests_multicast.py
index c82ec18..06a15de 100644
--- a/tests/system_tests_multicast.py
+++ b/tests/system_tests_multicast.py
@@ -206,7 +206,7 @@ class MulticastLinearTest(TestCase):
         atype = 'org.apache.qpid.dispatch.allocator'
         q = mgmt.query(type=atype).get_dicts()
         for name in stats:
-            d[name] = filter(lambda a: a['typeName'] == name, q)[0]
+            d[name] = list(filter(lambda a: a['typeName'] == name, q))[0]
         return d
 
     def test_51_maybe_presettled_large_msg(self):


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

Reply via email to