summaryrefslogtreecommitdiff
path: root/gps
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2013-11-24 18:07:13 -0500
committerEric S. Raymond <esr@thyrsus.com>2013-11-24 18:07:13 -0500
commitcaba8412a07edd4cd37e8407d9da315824f2d8f4 (patch)
tree3c7040eac38c1cef3cfd0c17614fde141201eb53 /gps
parent0672e13367c4347a7a13577b460d042b232be5c1 (diff)
downloadgpsd-caba8412a07edd4cd37e8407d9da315824f2d8f4.tar.gz
pylint found a minor error in the factoring of the Python library classes.
All regression tests pass. PPS is live.
Diffstat (limited to 'gps')
-rw-r--r--gps/client.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/gps/client.py b/gps/client.py
index 50a8dba5..eb21ea9e 100644
--- a/gps/client.py
+++ b/gps/client.py
@@ -17,7 +17,7 @@ class json_error(exceptions.Exception):
self.explanation = explanation
class gpscommon:
- "Isolate socket handling and buffering from the protcol interpretation."
+ "Isolate socket handling and buffering from the protocol interpretation."
def __init__(self, host="127.0.0.1", port=GPSD_PORT, verbose=0):
self.sock = None # in case we blow up in connect
self.linebuffer = ""
@@ -133,11 +133,8 @@ WATCH_SPLIT24 = 0x001000 # split AIS Type 24s
WATCH_PPS = 0x002000 # enable PPS in raw/NMEA
WATCH_DEVICE = 0x000800 # watch specific device
-class gpsjson(gpscommon):
+class gpsjson:
"Basic JSON decoding."
- def __init__(self):
- gpscommon.__init__(self)
-
def __iter__(self):
return self