From: W. Trevor King Date: Wed, 20 Oct 2010 08:00:52 +0000 (-0400) Subject: Allow Job status logging when .status is an Exception. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=14427ffdf0976d9763f77295f1b02f6a6bda527a;p=sawsim.git Allow Job status logging when .status is an Exception. --- diff --git a/pysawsim/manager/__init__.py b/pysawsim/manager/__init__.py index c18cc24..d596785 100644 --- a/pysawsim/manager/__init__.py +++ b/pysawsim/manager/__init__.py @@ -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)