Allow Job status logging when .status is an Exception.
authorW. Trevor King <wking@drexel.edu>
Wed, 20 Oct 2010 08:00:52 +0000 (04:00 -0400)
committerW. Trevor King <wking@drexel.edu>
Wed, 20 Oct 2010 08:00:52 +0000 (04:00 -0400)
pysawsim/manager/__init__.py

index c18cc24a106aef380a059902f2a5abfbdad26578..d596785b0293c1630ceda8a3b78a71964680ff9a 100644 (file)
@@ -201,7 +201,7 @@ class JobManager (object):
                 jobs[id] = self._jobs.pop(id)
         while len(ids) > 0:  # wait for outstanding jobs
             job = self._receive_job()
-            log().debug('receive job %s (%d)' % (job, job.status))
+            log().debug('receive job %s (%s)' % (job, job.status))
             job.copy_onto(self._jobs[job.id])
             if job.id in ids and job.id in self._jobs:
                 jobs[job.id] = self._jobs.pop(job.id)