diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2015-02-22 10:52:12 -0500 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2015-02-22 10:52:12 -0500 |
commit | a6b99381c7aa009ee449a76f31312eae0b87d7f1 (patch) | |
tree | 9be83c843b2510ad7f9818dfafb89a4d92971aac /gpscat | |
parent | 9087ef9f3d930fb26861d042e8906120799954a6 (diff) | |
download | gpsd-a6b99381c7aa009ee449a76f31312eae0b87d7f1.tar.gz |
gpscat: pylint cleanup. Works in live testing.
Diffstat (limited to 'gpscat')
-rwxr-xr-x | gpscat | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -66,7 +66,7 @@ if __name__ == '__main__': printusage() raise SystemExit, 0 - if (len(arguments) != 1): + if len(arguments) != 1: printusage() raise SystemExit, 1 @@ -123,7 +123,7 @@ if __name__ == '__main__': if length == 0: break if typeflag: - sys.stdout.write(`ptype` + " (" + repr(length) + "@" + repr(counter-length) + "): " + hexdump(packet)) + sys.stdout.write(repr(ptype) + " (" + repr(length) + "@" + repr(counter-length) + "): " + hexdump(packet)) sys.stdout.write("\n") else: sys.stdout.write(hexdump(packet) + "\n") |