diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2011-08-23 13:39:55 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2011-08-23 13:39:55 -0400 |
commit | 316a9154bb9286a95d215a07f0525091f0e13969 (patch) | |
tree | fcf492bad6582b0e7ee23b53e12b48b9179dcbb9 /gps/client.py | |
parent | 8d402ab470318a9a69ab62d8923ac0456b889ebc (diff) | |
download | gpsd-316a9154bb9286a95d215a07f0525091f0e13969.tar.gz |
gps library code is pychecker clean. All regression tests pass.
Diffstat (limited to 'gps/client.py')
-rw-r--r-- | gps/client.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gps/client.py b/gps/client.py index fa8bfa38..f4c1e7cb 100644 --- a/gps/client.py +++ b/gps/client.py @@ -144,7 +144,7 @@ class gpsjson(gpscommon): if hasattr(self.data, "satellites"): self.data.satellites = map(lambda x: dictwrapper(x), self.data.satellites) - def stream(self, flags=0, outfile=None): + def stream(self, flags=0, devpath=None): "Control streaming reports from the daemon," if flags & WATCH_DISABLE: arg = '?WATCH={"enable":false' @@ -175,7 +175,7 @@ class gpsjson(gpscommon): if flags & WATCH_TIMING: arg += ',"scaled":true' if flags & WATCH_DEVICE: - arg += ',"device":"%s"' % outfile + arg += ',"device":"%s"' % devpath return self.send(arg + "}") class dictwrapper: |