* allow scheduler email "from" address to be specified in global config
* allow global config to specify statuses which should trigger immediate emails (in addition to email upon job completion)
* make "Parsing" an active=complete=0 status, and modify Job.num_complete() appropriately
* restructuring of scheduler email notification code to only email at the right time and to include a more informative message


git-svn-id: http://test.kernel.org/svn/autotest/trunk@2506 592f7852-d20e-0410-864c-8624ca9c26a4
diff --git a/frontend/afe/models.py b/frontend/afe/models.py
index 3384ab0..5f8e777 100644
--- a/frontend/afe/models.py
+++ b/frontend/afe/models.py
@@ -701,8 +701,8 @@
     ABORT_STATUSES = (Status.ABORT, Status.ABORTING, Status.ABORTED)
     ACTIVE_STATUSES = (Status.STARTING, Status.VERIFYING, Status.PENDING,
                        Status.RUNNING, Status.ABORTING)
-    COMPLETE_STATUSES = (Status.PARSING, Status.ABORTED, Status.COMPLETED,
-                         Status.FAILED, Status.STOPPED)
+    COMPLETE_STATUSES = (Status.ABORTED, Status.COMPLETED, Status.FAILED,
+                         Status.STOPPED)
 
     job = dbmodels.ForeignKey(Job)
     host = dbmodels.ForeignKey(Host, blank=True, null=True)