Use True instead of 1 in while loop
A trivial fix just for more idiomatic expression. Change-Id: Ib64ff99e8875072ea2dfb8ad0b351e8a20229847
This commit is contained in:
parent
e7f48fd1ad
commit
7b0e5acff8
@ -25,7 +25,7 @@ from cinder.i18n import _
|
|||||||
|
|
||||||
def _operatorOperands(tokenList):
|
def _operatorOperands(tokenList):
|
||||||
it = iter(tokenList)
|
it = iter(tokenList)
|
||||||
while 1:
|
while True:
|
||||||
try:
|
try:
|
||||||
op1 = next(it)
|
op1 = next(it)
|
||||||
op2 = next(it)
|
op2 = next(it)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user