show priorities and jobIds in repr

This commit is contained in:
Darren Ranalli 2007-04-19 22:22:50 +00:00
parent 936412fae2
commit f619fd68bd

View File

@ -205,6 +205,6 @@ class JobManager:
# run through the jobs at this priority in the order that they will run
for jobId in self._pri2jobIds[pri]:
job = jobId2job[jobId]
s += '\n%4d: %s' % (jobId, job.getJobName())
s += '\n%5d: %s (jobId %s)' % (pri, job.getJobName(), jobId)
s += '\n'
return s