From 14427ffdf0976d9763f77295f1b02f6a6bda527a Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Wed, 20 Oct 2010 04:00:52 -0400 Subject: [PATCH] Allow Job status logging when .status is an Exception. --- pysawsim/manager/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.26.2