summaryrefslogtreecommitdiff
path: root/leapsecond.py
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2013-11-27 05:12:58 -0500
committerEric S. Raymond <esr@thyrsus.com>2013-11-27 05:38:26 -0500
commit04ce3b99cc51d7febbbfd51c08f2364a4ca71a4d (patch)
treee3a84be9f7e5e414b6ccecb8c52b0893b5de213d /leapsecond.py
parent7995ecf746361fc53d29bf22de11a9762510d5fd (diff)
downloadgpsd-04ce3b99cc51d7febbbfd51c08f2364a4ca71a4d.tar.gz
Cosmetic fix to leapsecond cache generation.
Diffstat (limited to 'leapsecond.py')
-rwxr-xr-xleapsecond.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/leapsecond.py b/leapsecond.py
index b7ccec25..de24d1a3 100755
--- a/leapsecond.py
+++ b/leapsecond.py
@@ -219,7 +219,7 @@ def save_leapseconds(outfile):
md = leapbound(fields[0], fields[1])
if verbose:
print >>sys.stderr, "# %s" % md
- fp.write(repr(iso_to_unix(md)) + "\t# (" + repr(md) + ")\n")
+ fp.write(repr(iso_to_unix(md)) + "\t# " + str(md) + "\n")
fp.close()
return
print >>sys.stderr, "%s not updated." % outfile