diff --git a/hack/verify-flags-underscore.py b/hack/verify-flags-underscore.py index 169f7944932..e6d891da9c2 100755 --- a/hack/verify-flags-underscore.py +++ b/hack/verify-flags-underscore.py @@ -35,7 +35,7 @@ def is_binary(pathname): try: with open(pathname, 'r') as f: CHUNKSIZE = 1024 - while 1: + while True: chunk = f.read(CHUNKSIZE) if '\0' in chunk: # found null byte return True