X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=pl_mom.py;h=f058eb4953c7d682bc1f94f0e099680bdfad66a2;hb=be3607334dff10a4dcf1609ffa70c174007cb214;hp=b4e09b090f64e821424b004649c79de9d0e49e8c;hpb=ac0c55c36eaa387888ca0d2aef5ab588fe0ccd94;p=mom.git diff --git a/pl_mom.py b/pl_mom.py index b4e09b0..f058eb4 100644 --- a/pl_mom.py +++ b/pl_mom.py @@ -88,11 +88,7 @@ def removepid(prog): def slicemail(slice, subject, body): sendmail = os.popen("/usr/sbin/sendmail -N never -t -f%s" % PLC_MAIL_SUPPORT_ADDRESS, "w") - # PLC has a separate list for pl_mom messages - if PLC_MAIL_SUPPORT_ADDRESS == "support@planet-lab.org": - to = ["pl-mom@planet-lab.org"] - else: - to = [PLC_MAIL_SUPPORT_ADDRESS] + to = [PLC_MAIL_MOM_LIST_ADDRESS] if slice is not None and slice != "root": to.append(PLC_MAIL_SLICE_ADDRESS.replace("SLICE", slice))