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:40 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:45:40 +0300
commit5d50718e66d9c037dc587a0211110b7d25a66185 (patch)
treee98df59de24d2ef7c77baed9f41e4875a2fef972 /contrib/libs/cctz/tzdata/update_tzdata.py
parenta6a92afe03e02795227d2641b49819b687f088f8 (diff)
downloadydb-5d50718e66d9c037dc587a0211110b7d25a66185.tar.gz
Restoring authorship annotation for Mikhail Borisov <borisov.mikhail@gmail.com>. Commit 2 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 40ae7578ad..9c3cd07352 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()