Commits

Clint Howarth  committed 9b08b23

fix to-address formatting, fix spam setting

  • Participants
  • Parent commits f5bef68

Comments (0)

Files changed (1)

File speedrack/aps.py

 
     email_recipients = config_block.get(task_params.TASK_EMAIL, None)
     if email_recipients:
-        email_recipients = ",".split(email_recipients)
+        email_recipients = email_recipients.split(",")
     else:
         email_recipients = []
 
+    spam = config_block.get(task_params.SPAM, None)
+
     unparsed_interval = config_block.get(task_params.TASK_INTERVAL, None)
     parsed_interval = timing.parse_interval(unparsed_interval)
 
         task_params.FAIL_BY_STDERR: fail_by_stderr,
         task_params.FAIL_BY_RETCODE: fail_by_retcode,
         task_params.CONFIG: config_block,
+        task_params.SPAM: spam,
     }
 
     # In erroneous configurations, we add a dummy job with an