Skip to content

Commit db86360

Browse files
authored
Remove redundant 'while True' condition. (#5958)
1 parent b0de5cf commit db86360

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cirq-ionq/cirq_ionq/ionq_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ def _list(
348348
json = {'limit': batch_size}
349349
token: Optional[str] = None
350350
results: List[Dict[str, Any]] = []
351-
while True and len(results) < limit:
351+
while len(results) < limit:
352352
full_params = params.copy()
353353
if token:
354354
full_params['next'] = token

0 commit comments

Comments
 (0)