summaryrefslogtreecommitdiff
path: root/gpsprof
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2016-03-27 18:50:24 -0400
committerEric S. Raymond <esr@thyrsus.com>2016-03-27 18:50:24 -0400
commitc19447cb4e33e4ed6e2d8579621ed4194c9a7493 (patch)
tree72fa09159a8d8cd9462186cb2703b3fc6ff672f7 /gpsprof
parentf6f22c6cd3b0f52e338f969bd9b6e46aac1b0d9c (diff)
downloadgpsd-c19447cb4e33e4ed6e2d8579621ed4194c9a7493.tar.gz
Restore language about 2.6 portability, clean up Python imports.
Diffstat (limited to 'gpsprof')
-rwxr-xr-xgpsprof2
1 files changed, 2 insertions, 0 deletions
diff --git a/gpsprof b/gpsprof
index 88dc4273..6ed691e1 100755
--- a/gpsprof
+++ b/gpsprof
@@ -7,6 +7,8 @@
# Requires gnuplot.
#
# This code runs under both Python 2 and Python 3. Preserve this property!
+from __future__ import print_function, division
+
import copy
import getopt
import gps