summaryrefslogtreecommitdiffstats
path: root/Tools/unicode
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2020-03-11 04:10:59 (GMT)
committerGitHub <noreply@github.com>2020-03-11 04:10:59 (GMT)
commit51796e5d2632e6ada81ca677b4153f4ccd490702 (patch)
treedcfc21d9d0713916f005f5c952a9ce629b01a878 /Tools/unicode
parent051b9d08d1e6a8b1022a2bd9166be51c0b152698 (diff)
downloadcpython-51796e5d2632e6ada81ca677b4153f4ccd490702.zip
cpython-51796e5d2632e6ada81ca677b4153f4ccd490702.tar.gz
cpython-51796e5d2632e6ada81ca677b4153f4ccd490702.tar.bz2
Update some www.unicode.org URLs to use HTTPS. (GH-18912)
Diffstat (limited to 'Tools/unicode')
-rw-r--r--Tools/unicode/makeunicodedata.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Tools/unicode/makeunicodedata.py b/Tools/unicode/makeunicodedata.py
index c9fcd83..810b285 100644
--- a/Tools/unicode/makeunicodedata.py
+++ b/Tools/unicode/makeunicodedata.py
@@ -893,9 +893,9 @@ def open_data(template, version):
import urllib.request
if version == '3.2.0':
# irregular url structure
- url = ('http://www.unicode.org/Public/3.2-Update/'+template) % ('-'+version,)
+ url = ('https://www.unicode.org/Public/3.2-Update/'+template) % ('-'+version,)
else:
- url = ('http://www.unicode.org/Public/%s/ucd/'+template) % (version, '')
+ url = ('https://www.unicode.org/Public/%s/ucd/'+template) % (version, '')
os.makedirs(DATA_DIR, exist_ok=True)
urllib.request.urlretrieve(url, filename=local)
if local.endswith('.txt'):