diff --git a/surveillance/arpwatch_sendmail.py b/surveillance/arpwatch_sendmail.py index d2f6b07f..6fcbd790 100755 --- a/surveillance/arpwatch_sendmail.py +++ b/surveillance/arpwatch_sendmail.py @@ -24,10 +24,10 @@ def info_machine(mac): for m in machines: adh = m.proprietaire() r = u""" - Recherche LDAP sur la MAC %(mac)s : - Nom de machine : %(nomMach)s , IP : %(ip)s, Prise : %(prise)s - Proprietaire : %(nomAdh)s, chambre %(chbre)s - """ % { "mac":mac, "nomMach":m.nom(), "ip":m.ip(), "prise":m.prise(),"nomAdh":adh.Nom(), "chbre":adh.chbre()} +Recherche LDAP sur la MAC %(mac)s : +Nom de machine : %(nomMach)s , IP : %(ip)s, Prise : %(prise)s +Proprietaire : %(nomAdh)s, chambre %(chbre)s +""" % { "mac":mac, "nomMach":m.nom(), "ip":m.ip(), "prise":m.prise(),"nomAdh":adh.Nom(), "chbre":adh.chbre()} s += r return s