git.lirion.de

Of git, get, and gud

aboutsummaryrefslogtreecommitdiffstats
path: root/refresh
diff options
context:
space:
mode:
authorH. P. <harald.p.@xmart.de> 2018-09-24 16:23:42 +0200
committerH. P. <harald.p.@xmart.de> 2018-09-24 16:23:42 +0200
commit54e3641b26dceeed597f32f53dd03446931acf98 (patch)
tree84075b2090690fac3f84a8d65667729f709e0dd1 /refresh
parent419e209a618ae8c3e758ca74d9bb9ed6d3eeda7b (diff)
downloadtimewarrior-holidays-54e3641b26dceeed597f32f53dd03446931acf98.tar.bz2
Removing further fragments
Diffstat (limited to 'refresh')
-rwxr-xr-xrefresh3
1 files changed, 0 insertions, 3 deletions
diff --git a/refresh b/refresh
index 9775c6a..22b9fd5 100755
--- a/refresh
+++ b/refresh
@@ -1,7 +1,6 @@
#!/usr/bin/env python
# -*- encoding: utf-8 -*-
# vim:syntax=python
-# http://holidata.net/en-US/2016.json
"""
This script downloads data from holidata.net and writes it into files in the current directory.
@@ -106,8 +105,6 @@ def hparse(lines, locode, year):
islocdef[myhlocale] = myhlocale
with open(myfile, "a") as ofile:
ofile.write(" " + mydate + " = " + unicode(jdata['description']) + "\n")
- #print("%s (%s), %s, %s: %s" % (unicode(jdata['description']), unicode(jdata['region']),
- # mycountry, myregion, mydate))
sleep(0.1)
sys.stdout.flush()