diff options
author | Gary E. Miller <gem@rellim.com> | 2018-07-26 15:42:07 -0700 |
---|---|---|
committer | Gary E. Miller <gem@rellim.com> | 2018-07-26 15:42:07 -0700 |
commit | be47466f6a4be0a1eb2e54396822c1e8544d5a30 (patch) | |
tree | 140f679fc20788693f8028c8470e7fe92eca5e95 /gps | |
parent | 18e644af9ce08cd3b4f0f4c2f6d36ff40bc25b2a (diff) | |
download | gpsd-be47466f6a4be0a1eb2e54396822c1e8544d5a30.tar.gz |
gps.py: pep8 cleanup.
Note the program pep8 is now called pycodestyle
Diffstat (limited to 'gps')
-rw-r--r-- | gps/gps.py | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 |