Fix exception class name bug I introduced in the last change to the drmaa runner.

This commit is contained in:
Nate Coraor
2013-10-10 15:17:13 -04:00
parent efc2365e8c
commit d022c381a5
+1 -1
View File
@@ -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: