aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/cctz/tzdata/update_tzdata.py
diff options
context:
space:
mode:
authorMikhail Borisov <borisov.mikhail@gmail.com>2022-02-10 16:45:39 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:45:39 +0300
commita6a92afe03e02795227d2641b49819b687f088f8 (patch)
treef6984a1d27d5a7ec88a6fdd6e20cd5b7693b6ece /contrib/libs/cctz/tzdata/update_tzdata.py
parentc6dc8b8bd530985bc4cce0137e9a5de32f1087cb (diff)
downloadydb-a6a92afe03e02795227d2641b49819b687f088f8.tar.gz
Restoring authorship annotation for Mikhail Borisov <borisov.mikhail@gmail.com>. Commit 1 of 2.
Diffstat (limited to 'contrib/libs/cctz/tzdata/update_tzdata.py')
-rwxr-xr-xcontrib/libs/cctz/tzdata/update_tzdata.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/contrib/libs/cctz/tzdata/update_tzdata.py b/contrib/libs/cctz/tzdata/update_tzdata.py
index 9c3cd07352..40ae7578ad 100755
--- a/contrib/libs/cctz/tzdata/update_tzdata.py
+++ b/contrib/libs/cctz/tzdata/update_tzdata.py
@@ -37,11 +37,11 @@ def create_cmakelists(zoneinfo_dir):
with open(os.path.join(generated_dir, tz_hash), 'w') as f:
f.write(tz_content)
- yamake_template = (
- 'RESOURCE(\n'
- '{}\n'
- ')'
- )
+ yamake_template = (
+ 'RESOURCE(\n'
+ '{}\n'
+ ')'
+ )
resources = '\n'.join(' generated/{} /cctz/tzdata/{}'.format(tz_hash, tz_name) for tz_name, tz_hash in sorted(tz_to_hash.iteritems()))
all_hashes = set(tz_to_hash.values())
@@ -51,7 +51,7 @@ def create_cmakelists(zoneinfo_dir):
subprocess.check_call(['svn', cmd, '--force', fn])
with open('ya.make.resources', 'w') as f:
- print >>f, yamake_template.format(resources)
+ print >>f, yamake_template.format(resources)
def get_latest_iana_version():
index_html = urllib2.urlopen('http://www.iana.org/time-zones').read()