The only way this could happen is if we don't enter this loop:
for jobid in xrange (self.fetch_first_job_id, last_jobid + 1):
and the only way I can see of that happening is that last_jobid < self.fetch_first_job_id.
But the only way I can see that happening is if CUPS returned a job with a lower ID than we asked for, which is incorrect. I'll put in a check for this so that system-config-printer is defensive against it, but it sounds like a CUPS bug to me.
Committed as 83fb5dcafe72bf8a76ded30c268477af48a406bb.
The only way this could happen is if we don't enter this loop:
for jobid in xrange (self.fetch_ first_job_ id, last_jobid + 1):
and the only way I can see of that happening is that last_jobid < self.fetch_ first_job_ id.
But the only way I can see that happening is if CUPS returned a job with a lower ID than we asked for, which is incorrect. I'll put in a check for this so that system- config- printer is defensive against it, but it sounds like a CUPS bug to me.
Committed as 83fb5dcafe72bf8 a76ded30c268477 af48a406bb.