Browse Source

show priorities and jobIds in repr

Darren Ranalli 18 years ago
parent
commit
f619fd68bd
1 changed files with 1 additions and 1 deletions
  1. 1 1
      direct/src/showbase/JobManager.py

+ 1 - 1
direct/src/showbase/JobManager.py

@@ -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