From d022c381a5feb00373181a02d4d7367457eb2ee3 Mon Sep 17 00:00:00 2001 From: Nate Coraor Date: Thu, 10 Oct 2013 15:17:13 -0400 Subject: [PATCH] Fix exception class name bug I introduced in the last change to the drmaa runner. --- lib/galaxy/jobs/runners/drmaa.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/galaxy/jobs/runners/drmaa.py b/lib/galaxy/jobs/runners/drmaa.py index 027d38498f9..425108b4e85 100644 --- a/lib/galaxy/jobs/runners/drmaa.py +++ b/lib/galaxy/jobs/runners/drmaa.py @@ -214,7 +214,7 @@ class DRMAAJobRunner( AsynchronousJobRunner ): state = self.ds.jobStatus( external_job_id ) # TODO: probably need to keep track of InvalidJobException count and remove after it exceeds some configurable except ( drmaa.DrmCommunicationException, drmaa.InternalException, drmaa.InvalidJobException ), e: - log.warning( "(%s/%s) job check resulted in %s: %s", galaxy_id_tag, external_job_id, e.__class__.name, e ) + log.warning( "(%s/%s) job check resulted in %s: %s", galaxy_id_tag, external_job_id, e.__class__.__name__, e ) new_watched.append( ajs ) continue except Exception, e: