diff options
author | Ben Hutchings <ben.hutchings@codethink.co.uk> | 2020-08-10 20:10:59 +0100 |
---|---|---|
committer | Ben Hutchings <ben.hutchings@codethink.co.uk> | 2020-08-10 20:20:47 +0100 |
commit | f79b095ece9ff3bc50545ae90aac5de8e5b354e7 (patch) | |
tree | c741bd1a754f5bc70ee04ee9342d6d2b0dfec3ae /lorry-controller-minion | |
parent | 9ba77114c66451ce0017f37d20cb10c27bdcd084 (diff) | |
download | lorry-controller-f79b095ece9ff3bc50545ae90aac5de8e5b354e7.tar.gz |
showjob: Use local variable instead of re-evaluating the same expression
JobShower.get_job_as_json assigns to a local 'path' variable, but
doesn't use it. Use it instead of re-evaluating the same expression
assigned to it.
Caught by pyflakes.
Diffstat (limited to 'lorry-controller-minion')
0 files changed, 0 insertions, 0 deletions