Skip to content

Commit d20c5ed

Browse files
authored
Merge pull request kubernetes#92832 from marload/patch-0706-03
Refactoring: Change Inf Loop Condition (1 -> True)
2 parents 93e76f5 + b602ddf commit d20c5ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hack/verify-flags-underscore.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def is_binary(pathname):
3535
try:
3636
with open(pathname, 'r') as f:
3737
CHUNKSIZE = 1024
38-
while 1:
38+
while True:
3939
chunk = f.read(CHUNKSIZE)
4040
if '\0' in chunk: # found null byte
4141
return True

0 commit comments

Comments
 (0)