Python 3 compatibility: fix xrange/range issues
xrange is not defined in python3. update it to range. Change-Id: I5de140e4107980383682138b53973488f92fa54e Closes-Bug: #1797768
This commit is contained in:
parent
033b03fa19
commit
9d2d21e4c1
@ -178,7 +178,7 @@ class TestController(unittest.TestCase):
|
||||
return c
|
||||
|
||||
c = ARoot
|
||||
for n in xrange(55):
|
||||
for n in range(55):
|
||||
subc = make_subcontrollers(n)
|
||||
c.sub = subc()
|
||||
c = subc
|
||||
|
@ -159,7 +159,7 @@ class TestController(testutil.TGTest):
|
||||
return c
|
||||
|
||||
c = ARoot
|
||||
for n in xrange(55):
|
||||
for n in range(55):
|
||||
subc = make_subcontrollers(n)
|
||||
c.sub = subc()
|
||||
c = subc
|
||||
|
Loading…
Reference in New Issue
Block a user