diff options
author | Gary E. Miller <gem@rellim.com> | 2017-07-26 17:39:51 -0700 |
---|---|---|
committer | Gary E. Miller <gem@rellim.com> | 2017-07-26 17:39:51 -0700 |
commit | 46824c7dbca8f7a6ce5d417fa55fc42c89bc2810 (patch) | |
tree | 3ac19d013ea71bf5601ad66a17d594b5fd46a48b /gpsfake | |
parent | 94c51f4aa809c43e50756e7396bcc75d3973067b (diff) | |
download | gpsd-46824c7dbca8f7a6ce5d417fa55fc42c89bc2810.tar.gz |
gpsfake: fix two pylint complaints of variable type changing.
Diffstat (limited to 'gpsfake')
-rwxr-xr-x | gpsfake | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -121,7 +121,7 @@ if __name__ == '__main__': port = None progress = False - cycle = 0 + cycle = 0.0 monitor = "" speed = 4800 linedump = False @@ -207,7 +207,7 @@ if __name__ == '__main__': # Don't allocate a private port when cycling logs for client testing. if port is None and not pipe: - port = gps.GPSD_PORT + port = int(gps.GPSD_PORT) test = gpsfake.TestSession(prefix=monitor, port=port, options=doptions, tcp=tcp, udp=udp, verbose=verbose, |