summaryrefslogtreecommitdiff
path: root/leapsecond.py
diff options
context:
space:
mode:
Diffstat (limited to 'leapsecond.py')
-rwxr-xr-xleapsecond.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/leapsecond.py b/leapsecond.py
index e43f353d..2f0ce8fb 100755
--- a/leapsecond.py
+++ b/leapsecond.py
@@ -43,8 +43,9 @@ This file is Copyright (c) 2013 by the GPSD project
BSD terms apply: see the file COPYING in the distribution root for details.
"""
-# This code runs under both Python 2 and Python 3. Preserve this property!
-from __future__ import print_function, division
+# This code runs compatibly under Python 2 and 3.x for x >= 2.
+# Preserve this property!
+from __future__ import absolute_import, print_function, division
import os, re, random, time, calendar, math, sys, signal