Remove a number of unused variables

This commit is contained in:
Jaime van Kessel 2020-04-10 13:46:19 +02:00
parent 6a6ad6e815
commit fe27da5e8a
No known key found for this signature in database
GPG key ID: 3710727397403C91
8 changed files with 7 additions and 12 deletions

View file

@ -299,7 +299,7 @@ class UltimakerNetworkedPrinterOutputDevice(NetworkedPrinterOutputDevice):
new_print_jobs = []
# Check which print jobs need to be created or updated.
for index, print_job_data in enumerate(remote_jobs):
for print_job_data in remote_jobs:
print_job = next(
iter(print_job for print_job in self._print_jobs if print_job.key == print_job_data.uuid), None)
if not print_job: