diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/download_import_cldr.py | 2 | ||||
-rwxr-xr-x | scripts/import_cldr.py | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/scripts/download_import_cldr.py b/scripts/download_import_cldr.py index 926e747..ab455ac 100755 --- a/scripts/download_import_cldr.py +++ b/scripts/download_import_cldr.py @@ -37,7 +37,7 @@ def is_good_file(filename): return False h = hashlib.sha512() with open(filename, 'rb') as f: - while 1: + while True: blk = f.read(BLKSIZE) if not blk: break diff --git a/scripts/import_cldr.py b/scripts/import_cldr.py index 33e4a60..5630ba8 100755 --- a/scripts/import_cldr.py +++ b/scripts/import_cldr.py @@ -990,6 +990,5 @@ def parse_measurement_systems(data, tree): _import_type_text(measurement_systems, measurement_system, type=type) - if __name__ == '__main__': main() |