summaryrefslogtreecommitdiff
path: root/gps/client.py
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2011-10-28 16:44:40 -0400
committerEric S. Raymond <esr@thyrsus.com>2011-10-28 16:44:40 -0400
commit73af3c54ab43ee43698d57250210d873c3b5567d (patch)
treee27fce05cb485247b8357e2611b65edd5c2dd738 /gps/client.py
parent707dfbcc87290994bac11f4f54ebe52f26bc5b2c (diff)
downloadgpsd-73af3c54ab43ee43698d57250210d873c3b5567d.tar.gz
More Python sanity checking.
Diffstat (limited to 'gps/client.py')
-rw-r--r--gps/client.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gps/client.py b/gps/client.py
index 1ef2d02c..43a8be47 100644
--- a/gps/client.py
+++ b/gps/client.py
@@ -143,7 +143,7 @@ class gpsjson(gpscommon):
# Should be done for any other array-valued subobjects, too.
# This particular logic can fire on SKY or RTCM2 objects.
if hasattr(self.data, "satellites"):
- self.data.satellites = map(lambda x: dictwrapper(x), self.data.satellites)
+ self.data.satellites = map(dictwrapper, self.data.satellites)
def stream(self, flags=0, devpath=None):
"Control streaming reports from the daemon,"