diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2017-09-06 19:00:04 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2017-09-06 19:00:04 -0400 |
commit | 9c7e8629876fb3ff115902e37fe562641ce9de11 (patch) | |
tree | 08ca2e4206ccc0dbda2ee946d907763ae9166aab /xgpsspeed | |
parent | db56959e1cf2670edb02f27f25580bb4272e9df2 (diff) | |
download | gpsd-9c7e8629876fb3ff115902e37fe562641ce9de11.tar.gz |
Clean up C and Python code-checker warnings.
Diffstat (limited to 'xgpsspeed')
-rwxr-xr-x | xgpsspeed | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -787,12 +787,12 @@ if __name__ == '__main__': sys.exit(0) target = ':'.join(args[0:]) elif options.host or options.port or options.device: - target = [options.host or 'localhost'] + ltarget = [options.host or 'localhost'] if options.port or options.device: - target += [options.port or ''] + ltarget += [options.port or ''] if options.device: - target += [options.device] - target = ':'.join(target) + ltarget += [options.device] + target = ':'.join(ltarget) else: target = "" Main( |