summaryrefslogtreecommitdiff
path: root/gps
diff options
context:
space:
mode:
authorGary E. Miller <gem@rellim.com>2018-07-26 15:42:07 -0700
committerGary E. Miller <gem@rellim.com>2018-07-26 15:42:07 -0700
commitbe47466f6a4be0a1eb2e54396822c1e8544d5a30 (patch)
tree140f679fc20788693f8028c8470e7fe92eca5e95 /gps
parent18e644af9ce08cd3b4f0f4c2f6d36ff40bc25b2a (diff)
downloadgpsd-be47466f6a4be0a1eb2e54396822c1e8544d5a30.tar.gz
gps.py: pep8 cleanup.
Note the program pep8 is now called pycodestyle
Diffstat (limited to 'gps')
-rw-r--r--gps/gps.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/gps/gps.py b/gps/gps.py
index bc60de6a..037796df 100644
--- a/gps/gps.py
+++ b/gps/gps.py
@@ -30,6 +30,7 @@ def isfinite(f):
# Python 2 has no easier way to test for Inf
return float('-inf') < float(f) < float('inf')
+
# Don't hand-hack this list, it's generated.
ONLINE_SET = (1 << 1)
TIME_SET = (1 << 2)
@@ -287,6 +288,7 @@ def is_sbas(prn):
"Is this the NMEA ID of an SBAS satellite?"
return prn >= 120 and prn <= 158
+
if __name__ == '__main__':
import getopt
import sys