diff options
author | Tomi Pieviläinen <tomi.pievilainen+launchpad@iki.fi> | 2012-03-28 18:04:02 +0300 |
---|---|---|
committer | Tomi Pieviläinen <tomi.pievilainen+launchpad@iki.fi> | 2012-03-28 18:04:02 +0300 |
commit | e5515075578b4dce946e22a80ed87041405512ba (patch) | |
tree | ed182321be549b1cfd8cbdc6eb4eb610c9692764 /updatezinfo.py | |
parent | 4e5cd8f57f07f634411034a1571c23decb15aad1 (diff) | |
download | dateutil-e5515075578b4dce946e22a80ed87041405512ba.tar.gz |
Change tzdata ftp server and processing
Due to Astrolabe lawsuite, the tzdata is now hosted at IANA. It seems like
something has changed in the file ordering too, so that backwards now needs
to be explicitly ordered as last to make links work (there was a bug that
UTC wasn't linked to Etc/UTC, for example).
Diffstat (limited to 'updatezinfo.py')
-rwxr-xr-x | updatezinfo.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/updatezinfo.py b/updatezinfo.py index 415b8c3..46b3cf7 100755 --- a/updatezinfo.py +++ b/updatezinfo.py @@ -1,12 +1,12 @@ #!/usr/bin/python -from dateutil.zoneinfo import rebuild -import shutil -import sys import os import re +import sys + +from dateutil.zoneinfo import rebuild -SERVER = "elsie.nci.nih.gov" -DIR = "/pub" +SERVER = "ftp.iana.org" +DIR = "/tz" NAME = re.compile("tzdata(.*).tar.gz") def main(): |