You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by kg...@apache.org on 2018/08/10 14:37:51 UTC

qpid-dispatch git commit: DISPATCH-1101: in python3 zip returns iterator which can only be interated over once

Repository: qpid-dispatch
Updated Branches:
  refs/heads/master 18c73aeed -> 6576b3e9d


DISPATCH-1101: in python3 zip returns iterator which can only be interated over once


Project: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/commit/6576b3e9
Tree: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/tree/6576b3e9
Diff: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/diff/6576b3e9

Branch: refs/heads/master
Commit: 6576b3e9d0113cd691fcd092a4e36076579498d4
Parents: 18c73ae
Author: Kenneth Giusti <kg...@apache.org>
Authored: Fri Aug 10 10:34:26 2018 -0400
Committer: Kenneth Giusti <kg...@apache.org>
Committed: Fri Aug 10 10:34:26 2018 -0400

----------------------------------------------------------------------
 tests/system_tests_link_routes_add_external_prefix.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-dispatch/blob/6576b3e9/tests/system_tests_link_routes_add_external_prefix.py
----------------------------------------------------------------------
diff --git a/tests/system_tests_link_routes_add_external_prefix.py b/tests/system_tests_link_routes_add_external_prefix.py
index 0bb6b39..87ccb19 100644
--- a/tests/system_tests_link_routes_add_external_prefix.py
+++ b/tests/system_tests_link_routes_add_external_prefix.py
@@ -33,7 +33,7 @@ def parse_record(fields, line):
 
 def parse_fields(header, items):
     pos = [header.find(name) for name in header.split()] + [len(header)]
-    fields = zip(pos, pos[1:])
+    fields = list(zip(pos, pos[1:]))
     return [parse_record(fields, item) for item in items]
 
 class LinkRouteTest(TestCase):


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