summaryrefslogtreecommitdiff
path: root/gpsprof
diff options
context:
space:
mode:
authorFred Wright <fw@fwright.net>2017-07-14 15:46:45 -0700
committerFred Wright <fw@fwright.net>2017-07-14 15:46:45 -0700
commitbda3f970bd713cf553dcca47beb22682a49c7081 (patch)
tree7e86c72d197cd335455c8da85e7045dd632ba35e /gpsprof
parent81e3562ddf0817e513518dea866276729361d5e8 (diff)
downloadgpsd-bda3f970bd713cf553dcca47beb22682a49c7081.tar.gz
Fixes some pylint issues.
This doesn't fix all complaints by pylint, but significantly reduces their number. Ditto for pep8 complaints. Also makes a couple of related cosmetic edits. TESTED: Ran "scons build-all check" with no errors. Both "pylint" and "pep8" targets report fewer issues.
Diffstat (limited to 'gpsprof')
-rwxr-xr-xgpsprof3
1 files changed, 2 insertions, 1 deletions
diff --git a/gpsprof b/gpsprof
index a8c8dc84..23a18c21 100755
--- a/gpsprof
+++ b/gpsprof
@@ -12,7 +12,6 @@ from __future__ import absolute_import, print_function, division
import copy
import getopt
-import gps
import math
import os
import signal
@@ -20,6 +19,8 @@ import socket
import sys
import time
+import gps
+
class Baton(object):
"Ship progress indication to stderr."