summaryrefslogtreecommitdiff
path: root/gpsfake
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2016-03-22 04:57:22 -0400
committerEric S. Raymond <esr@thyrsus.com>2016-03-22 04:57:22 -0400
commit3e8b9be3a77635781ebca888d7aa73162a3588cd (patch)
tree001a6bc8cc184a962ec7b05f4a95f0b02f8d6df9 /gpsfake
parentc904362d06f325e2d3c1bcdebd702b5d274a1cdd (diff)
downloadgpsd-3e8b9be3a77635781ebca888d7aa73162a3588cd.tar.gz
gpsfake now runs polyglot under Python 2 or 3.
Diffstat (limited to 'gpsfake')
-rwxr-xr-xgpsfake3
1 files changed, 2 insertions, 1 deletions
diff --git a/gpsfake b/gpsfake
index 6977e9b0..4be80470 100755
--- a/gpsfake
+++ b/gpsfake
@@ -1,4 +1,4 @@
-#!/usr/bin/env python2
+#!/usr/bin/env python
#
# gpsfake -- test harness for gpsd
#
@@ -9,6 +9,7 @@
# 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
import getopt