summaryrefslogtreecommitdiff
path: root/lorry-controller-minion
diff options
context:
space:
mode:
authorBen Hutchings <ben.hutchings@codethink.co.uk>2020-08-10 20:05:20 +0100
committerBen Hutchings <ben.hutchings@codethink.co.uk>2020-08-10 20:20:48 +0100
commita78d5086d9f0eabe9234ba3db5d15bd728512376 (patch)
tree68466125a6756f6cbd690c5a5bbfa3ad3216c44b /lorry-controller-minion
parentf79b095ece9ff3bc50545ae90aac5de8e5b354e7 (diff)
downloadlorry-controller-a78d5086d9f0eabe9234ba3db5d15bd728512376.tar.gz
Delete assignments to local variables that are not used later
pyflakes found various assignments to local variables which are not used again. In some cases we still need to evaluate the expression that's assigned. In most places we can delete the assignment entirely.
Diffstat (limited to 'lorry-controller-minion')
-rwxr-xr-xlorry-controller-minion1
1 files changed, 0 insertions, 1 deletions
diff --git a/lorry-controller-minion b/lorry-controller-minion
index 1900313..2cde979 100755
--- a/lorry-controller-minion
+++ b/lorry-controller-minion
@@ -111,7 +111,6 @@ class MINION(cliapp.Application):
def get_job_spec(self):
host = self.settings['webapp-host']
port = int(self.settings['webapp-port'])
- timeout = self.settings['webapp-timeout']
logging.debug('Requesting job from WEBAPP (%s:%s)', host, port)