summaryrefslogtreecommitdiff
path: root/gegps
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2011-06-24 10:09:43 -0400
committerEric S. Raymond <esr@thyrsus.com>2011-06-24 10:09:43 -0400
commitca4e2a004ffca4013f200e096ef9ad1867ff35d2 (patch)
treeab85421016f4fc1efb9ac74e22ca942efa28f292 /gegps
parent3839bfe9a3d3c9015260b9500bff597fbfe5595b (diff)
downloadgpsd-ca4e2a004ffca4013f200e096ef9ad1867ff35d2.tar.gz
Bring Python's stream method up to date so it matches the C one.
This means WATCH_NEWSTYLE is defaulted to properly. All regression tests pass.
Diffstat (limited to 'gegps')
-rw-r--r--gegps4
1 files changed, 1 insertions, 3 deletions
diff --git a/gegps b/gegps
index 725568ef..5d6f6d86 100644
--- a/gegps
+++ b/gegps
@@ -68,9 +68,7 @@ def kmlize(tpv):
if __name__ == "__main__":
session = gps.gps()
- # must include gps.WATCH_NEWSTYLE on my system(debian squeeze), otherwise
- # there is no TPV report
- session.stream(gps.WATCH_ENABLE|gps.WATCH_NEWSTYLE)
+ session.stream(gps.WATCH_ENABLE)
kmldir = "."
initialize = False