On précise sur quels serveur ont lieu les modifications

This commit is contained in:
Vincent Le Gallic 2013-08-18 20:23:04 +02:00
parent e54eeec33e
commit 13402dfeeb

View file

@ -246,6 +246,7 @@ def notification(subject, corps, fname, old):
msg.preamble = u"%s report" % (serverconfig.cmd_name.decode(),)
info = MIMEText(corps +
u"\nLa version précédente a été sauvegardée." +
u"\n\nModification effectuée sur %s." % socket.gethostname() +
u"\n\n-- \nCranspasswords.py", _charset="utf-8")
msg.attach(info)
conn.sendmail(frommail, tomail, msg.as_string())