diff options
author | Aarni Koskela <akx@iki.fi> | 2015-12-20 21:29:21 +0200 |
---|---|---|
committer | Aarni Koskela <akx@iki.fi> | 2015-12-21 19:01:12 +0200 |
commit | 9f7f4d02998955719a8d18bfcbec8f700bec9923 (patch) | |
tree | 4ecb660643e624231034e009ebaea9b28c0f1443 /scripts | |
parent | 23c4a550c6073a1f6948196539d0c8c51c950a3a (diff) | |
download | babel-9f7f4d02998955719a8d18bfcbec8f700bec9923.tar.gz |
Update to CLDR 28 (with test updates)
* Aside from the usual data changes, the provisional aa locale is no longer,
so we can't use it for tests. Instead, ii is used (chosen by virtue of ii.xml
being fairly small, i.e. probably as incomplete as aa).
* ms_Latn_SG is not in use anymore either; use sr_Latn_ME instead.
Closes #226
Closes #290
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/download_import_cldr.py | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/scripts/download_import_cldr.py b/scripts/download_import_cldr.py index f9523aa..4da3423 100755 --- a/scripts/download_import_cldr.py +++ b/scripts/download_import_cldr.py @@ -5,7 +5,6 @@ import sys import shutil import hashlib import zipfile -import urllib import subprocess try: from urllib.request import urlretrieve @@ -13,9 +12,9 @@ except ImportError: from urllib import urlretrieve -URL = 'http://unicode.org/Public/cldr/26/core.zip' -FILENAME = 'core-26.zip' -FILESUM = '46220170238b092685fd24221f895e3d' +URL = 'http://unicode.org/Public/cldr/28/core.zip' +FILENAME = 'core-28.zip' +FILESUM = 'bc545b4c831e1987ea931b04094d7b9fc59ec3d8' BLKSIZE = 131072 @@ -53,7 +52,7 @@ def is_good_file(filename): if not os.path.isfile(filename): log('Local copy \'%s\' not found', filename) return False - h = hashlib.md5() + h = hashlib.sha1() with open(filename, 'rb') as f: while 1: blk = f.read(BLKSIZE) |