X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=pl_mom.py;h=f058eb4953c7d682bc1f94f0e099680bdfad66a2;hb=117f3864335ac652bfecb5efc33e95bc9a908741;hp=6d4d8bfcf145f21670f0f7360257a884bdd302f6;hpb=cec191ea114b80511881ea3d94c3443b124be939;p=mom.git diff --git a/pl_mom.py b/pl_mom.py index 6d4d8bf..f058eb4 100644 --- a/pl_mom.py +++ b/pl_mom.py @@ -5,7 +5,7 @@ # Mark Huang # Copyright (C) 2006 The Trustees of Princeton University # -# $Id: pl_mom.py,v 1.5 2006/07/10 15:19:35 faiyaza Exp $ +# $Id$ # import os @@ -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))