diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2011-06-24 10:09:43 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2011-06-24 10:09:43 -0400 |
commit | ca4e2a004ffca4013f200e096ef9ad1867ff35d2 (patch) | |
tree | ab85421016f4fc1efb9ac74e22ca942efa28f292 /gegps | |
parent | 3839bfe9a3d3c9015260b9500bff597fbfe5595b (diff) | |
download | gpsd-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-- | gegps | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -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 |