You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by gm...@apache.org on 2019/10/31 17:33:02 UTC

[qpid-dispatch] branch master updated: DISPATCH-1428 - Replace xrange with range since it is gone is Python 3.x

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

gmurthy 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 6d8eeb6  DISPATCH-1428 - Replace xrange with range since it is gone is Python 3.x
6d8eeb6 is described below

commit 6d8eeb65069ff8c5579286d69a2b90d43d9d7f5c
Author: Ganesh Murthy <gm...@apache.org>
AuthorDate: Thu Oct 31 13:32:46 2019 -0400

    DISPATCH-1428 - Replace xrange with range since it is gone is Python 3.x
---
 tests/system_tests_link_routes.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/system_tests_link_routes.py b/tests/system_tests_link_routes.py
index ab2780a..5daced8 100644
--- a/tests/system_tests_link_routes.py
+++ b/tests/system_tests_link_routes.py
@@ -2126,7 +2126,7 @@ class Dispatch1428(TestCase):
         long_type = 'org.apache.qpid.dispatch.router.config.linkRoute'
         qd_manager = QdManager(self, address=self.routers[1].addresses[0])
 
-        for i in xrange(5):
+        for i in range(5):
             all_link_routes_activated = True
             link_routes = qd_manager.query(long_type)
             for link_route in link_routes:


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