diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2016-03-22 04:57:22 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2016-03-22 04:57:22 -0400 |
commit | 3e8b9be3a77635781ebca888d7aa73162a3588cd (patch) | |
tree | 001a6bc8cc184a962ec7b05f4a95f0b02f8d6df9 /gpsfake | |
parent | c904362d06f325e2d3c1bcdebd702b5d274a1cdd (diff) | |
download | gpsd-3e8b9be3a77635781ebca888d7aa73162a3588cd.tar.gz |
gpsfake now runs polyglot under Python 2 or 3.
Diffstat (limited to 'gpsfake')
-rwxr-xr-x | gpsfake | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 |