Commits

James Taylor committed 43abe55

Set job state properly on completion.

  • Participants
  • Parent commits 8c21735

Comments (0)

Files changed (1)

File lib/galaxy/jobs/__init__.py

         # default post job setup
         mapping.context.current.clear()
         job = model.Job.get( self.job_id )
+        job.state = 'ok'
         for dataset_assoc in job.output_datasets:
             dataset = dataset_assoc.dataset
             dataset.refresh()