diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2011-03-01 18:03:03 -0500 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2011-03-01 18:03:03 -0500 |
commit | 1bb7e70bb95bb8130cf1203769c0e75792d7c4d2 (patch) | |
tree | 8a873e5191e893649d7ed02e46187da5a3f4cc1a /gpscat | |
parent | 94f588dfb2a210b002b5ae0854233eafb192a7d8 (diff) | |
download | gpsd-1bb7e70bb95bb8130cf1203769c0e75792d7c4d2.tar.gz |
Have the Python packet-module interface export the character counter.
Diffstat (limited to 'gpscat')
-rwxr-xr-x | gpscat | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -118,7 +118,7 @@ if __name__ == '__main__': sys.stdout.write(hexdump(buf)) buf = "" else: - (length, ptype, packet) = getter.get(tty) + (length, ptype, packet, counter) = getter.get(tty) seqno += 1 if length == 0: break |