Fix typos

This commit is contained in:
Thomas Lauf 2018-01-05 10:49:17 +01:00
parent ac18340757
commit 3aa932eafe
9 changed files with 13 additions and 13 deletions

View file

@ -1,4 +1,4 @@
# Holiday data provided by Holidata.net
# Holiday data provided by holidata.net
# Generated 2016-11-06T08:20:37
define holidays:

View file

@ -53,7 +53,7 @@ def update_locales(locales, regions, years):
for locale in locales:
with open("holidays.%s" % locale, "w") as fh:
fh.write('# Holiday data provided by Holidata.net\n')
fh.write('# Holiday data provided by holidata.net\n')
fh.write('# Generated ' + time.strftime('%Y-%m-%dT%H:%M:%S') + '\n\n')
fh.write('define holidays:\n')
fh.write(' ' + locale + ':\n')
@ -79,7 +79,7 @@ def update_locales(locales, regions, years):
except HTTPError as e:
if e.code == 404:
print("Holidata.net does not have data for %s, for %d." % (locale, year))
print("holidata.net does not have data for %s, for %d." % (locale, year))
else:
print(e.code, e.read())