diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2013-11-13 00:44:09 -0500 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2013-11-13 00:44:09 -0500 |
commit | 6fdefa7a574ce6132984363c214387ec364f76d6 (patch) | |
tree | 11c9caccc69cff6a21f4c75115de80fa91621ed6 /leapsecond.py | |
parent | 7e56b10ee95dcaa8c6fba17fd276724159c4f003 (diff) | |
download | gpsd-6fdefa7a574ce6132984363c214387ec364f76d6.tar.gz |
Address Savannah bug #40461: leapsecond.py and http proxies
Fail more gracefully in this case, and add a leapfetch=no option to
work around it.
Diffstat (limited to 'leapsecond.py')
-rwxr-xr-x | leapsecond.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/leapsecond.py b/leapsecond.py index 379cf181..79d24b3b 100755 --- a/leapsecond.py +++ b/leapsecond.py @@ -262,7 +262,7 @@ def iso_to_unix(tv): return calendar.timegm(time.strptime(tv, "%Y-%m-%dT%H:%M:%S")) def unix_to_iso(tv): - "iso date to gmt Unix time." + "ISO date to UTC Unix time." return time.strftime("%Y-%m-%dT%H:%M:%S", time.gmtime(tv)) def graph_history(filename): |