summaryrefslogtreecommitdiff
path: root/test_maidenhead.py
diff options
context:
space:
mode:
Diffstat (limited to 'test_maidenhead.py')
-rwxr-xr-xtest_maidenhead.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/test_maidenhead.py b/test_maidenhead.py
index e8d5459d..13b64475 100755
--- a/test_maidenhead.py
+++ b/test_maidenhead.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python2
+#!/usr/bin/env python
#
# Test grid locator conversion.
#
@@ -7,6 +7,8 @@
# Test conversions generated using
# http://f6fvy.free.fr/qthLocator/
+# This code runs compatibly under Python 2 and 3.x for x >= 2.
+# Preserve this property!
from __future__ import print_function
import sys, gps.clienthelpers