From 08864f28460f16035b2ffdfcb9704af0c3faa164 Mon Sep 17 00:00:00 2001 From: Aarni Koskela Date: Mon, 28 May 2018 16:22:03 +0300 Subject: Download CLDR 33.0; fix test changes --- scripts/download_import_cldr.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'scripts') 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) -- cgit v1.2.1