diff options
author | Yaron de Leeuw <me@jarondl.net> | 2015-05-25 21:32:10 +0300 |
---|---|---|
committer | Yaron de Leeuw <me@jarondl.net> | 2015-05-25 21:33:59 +0300 |
commit | a0e8518a203c71e549439772630e9e26d4bc0614 (patch) | |
tree | 28b46e613b9e42204baecb0765a08ead1be272e4 /updatezinfo.py | |
parent | f7a1d4efa774ef3408b77c4dfd467c5225c3c4b6 (diff) | |
download | dateutil-a0e8518a203c71e549439772630e9e26d4bc0614.tar.gz |
add zoneinfo metadata
Add the entire zoneinfo metadata to the tar archive, and add
a function to access it. Also add the metadata to the docs.
Fixes #27 instead of #39
Diffstat (limited to 'updatezinfo.py')
-rw-r--r-- | updatezinfo.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/updatezinfo.py b/updatezinfo.py index ed688de..f33e42e 100644 --- a/updatezinfo.py +++ b/updatezinfo.py @@ -26,7 +26,8 @@ def main(): sha_512_file = sha_hasher.hexdigest() assert metadata['tzdata_file_sha512'] == sha_512_file, "SHA failed for" print("Updating timezone information...") - rebuild(metadata['tzdata_file'], zonegroups=metadata['zonegroups']) + rebuild(metadata['tzdata_file'], zonegroups=metadata['zonegroups'], + metadata=metadata) print("Done.") if __name__ == "__main__": |