summaryrefslogtreecommitdiff
path: root/leapsecond.py
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2011-10-28 15:54:13 -0400
committerEric S. Raymond <esr@thyrsus.com>2011-10-28 15:54:13 -0400
commit707dfbcc87290994bac11f4f54ebe52f26bc5b2c (patch)
treefe5bd07237e7411eb0303028615a028b05a01423 /leapsecond.py
parent5ce52d829bd559a83c9baf927e3a9e6575a099fd (diff)
downloadgpsd-707dfbcc87290994bac11f4f54ebe52f26bc5b2c.tar.gz
Python glitches caught by pylint.
One could have been a fatal error.
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 c9074137..544cabbf 100755
--- a/leapsecond.py
+++ b/leapsecond.py
@@ -73,7 +73,7 @@ def last_insertion_time():
when.tm_mon = 1; jan = int(calendar.timegm(when))
when.tm_mon = 7; jul = int(calendar.timegm(when))
# We have the UTC times of the potential insertion points this year.
- now = time()
+ now = time.time()
if now > jul:
return jul
else: