summaryrefslogtreecommitdiff
path: root/gpscap.py
diff options
context:
space:
mode:
Diffstat (limited to 'gpscap.py')
-rw-r--r--gpscap.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/gpscap.py b/gpscap.py
index 32a854e0..84e8e985 100644
--- a/gpscap.py
+++ b/gpscap.py
@@ -4,8 +4,9 @@ gpscap - GPS/AIS capability dictionary class.
This file is Copyright (c) 2010 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
+# This code runs compatibly under Python 2 and 3.x for x >= 2.
+# Preserve this property!
+from __future__ import absolute_import, print_function, division
try:
import configparser