mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-01 17:35:34 -04:00
__repr__: 4 digits for priority, handle empty list
This commit is contained in:
parent
408590f29e
commit
2d7006f7e2
@ -164,6 +164,8 @@ 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%3d: %s' % (jobId, job.getJobName())
|
||||
s += '\n%4d: %s' % (jobId, job.getJobName())
|
||||
else:
|
||||
s += '\n no jobs running'
|
||||
s += '\n'
|
||||
return s
|
||||
|
Loading…
x
Reference in New Issue
Block a user