diff options
author | H. P. <harald.p.@xmart.de> | 2018-09-24 16:18:54 +0200 |
---|---|---|
committer | H. P. <harald.p.@xmart.de> | 2018-09-24 16:18:54 +0200 |
commit | 419e209a618ae8c3e758ca74d9bb9ed6d3eeda7b (patch) | |
tree | d05f14fd821c123a2c1c4449585ec4cb69563310 /refresh | |
parent | 1d1d3a5add792024377206672d97af164a7f207d (diff) | |
download | timewarrior-holidays-419e209a618ae8c3e758ca74d9bb9ed6d3eeda7b.tar.bz2 |
Removing debug output and debug content of islocdef
Diffstat (limited to 'refresh')
-rwxr-xr-x | refresh | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -77,10 +77,10 @@ def hparse(lines, locode, year): not have a region definition and thus be written to file.en-US, whereas a holiday that is not valid for all of the US but is valid for Oregon will be written to file.en-OR. """ - islocdef = { 'XY-ZZ': 1 } + islocdef = {} for line in lines.split('\n'): if line: - #sys.stdout.write(".") + sys.stdout.write(".") jdata = json.loads(line) mylocale = unicode(jdata['locale']) mycountry = mylocale.split('-')[0] @@ -110,7 +110,6 @@ def hparse(lines, locode, year): # mycountry, myregion, mydate)) sleep(0.1) sys.stdout.flush() - print islocdef.keys() if __name__ == "__main__": myyear = "" |