Message ID | 1287341915-854-1-git-send-email-lmr@redhat.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/scheduler/scheduler_models.py b/scheduler/scheduler_models.py index f94077a..c302dac 100644 --- a/scheduler/scheduler_models.py +++ b/scheduler/scheduler_models.py @@ -903,6 +903,7 @@ class Job(DBObject): WHERE t.job_idx = j.job_idx AND s.status_idx = t.status AND j.afe_job_id = %s + ORDER BY t.reason """ % self.id) failed_rows = [r for r in rows if not 'GOOD' in r]