diff options
author | Aarni Koskela <akx@iki.fi> | 2018-05-28 16:22:03 +0300 |
---|---|---|
committer | Aarni Koskela <akx@iki.fi> | 2018-05-28 16:32:04 +0300 |
commit | 08864f28460f16035b2ffdfcb9704af0c3faa164 (patch) | |
tree | 6006b22b24441010df40ee401a51aabd9c50992f /scripts | |
parent | efea2dcd8d1aa7b776e9cec171a3b56edb08e3b4 (diff) | |
download | babel-08864f28460f16035b2ffdfcb9704af0c3faa164.tar.gz |
Download CLDR 33.0; fix test changes
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/download_import_cldr.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/scripts/download_import_cldr.py b/scripts/download_import_cldr.py index 1d3c17b..b6e6f43 100755 --- a/scripts/download_import_cldr.py +++ b/scripts/download_import_cldr.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 import contextlib import os @@ -13,9 +13,9 @@ except ImportError: from urllib import urlretrieve -URL = 'http://unicode.org/Public/cldr/32.0.1/core.zip' -FILENAME = 'core-32.0.1.zip' -FILESUM = '571e33f482543f02ebd06c9b43d127a87c637c8c' +URL = 'https://unicode.org/Public/cldr/33/core.zip' +FILENAME = 'core-33.0.zip' +FILESUM = 'fa3490082c086d21257153609642f54fcf788fcfda4966fe67f3f6daca0d58b9' BLKSIZE = 131072 @@ -53,7 +53,7 @@ def is_good_file(filename): if not os.path.isfile(filename): log('Local copy \'%s\' not found', filename) return False - h = hashlib.sha1() + h = hashlib.sha256() with open(filename, 'rb') as f: while 1: blk = f.read(BLKSIZE) |