This results from the submitted jobs query returning a None for the job under certain conditions. This results in a null device_type which is not being checked.
A check like:
+ jobs = {}
+ jobs_hash = dict(jobs_res)
+ for job in jobs_hash:
+ if job:
+ jobs[job] = jobs_hash[job]
This results from the submitted jobs query returning a None for the job under certain conditions. This results in a null device_type which is not being checked.
A check like:
+ jobs = {}
+ jobs_hash = dict(jobs_res)
+ for job in jobs_hash:
+ if job:
+ jobs[job] = jobs_hash[job]
fixes the problem.