Revert "[arpwatch] On n'envoie pas de mail pour les évènement inintéressants."

This reverts commit 7560f05a1e.
This commit is contained in:
Vincent Le Gallic 2013-10-31 04:22:22 +01:00
parent a0778565c5
commit 95234963da
4 changed files with 10 additions and 47 deletions

View file

@ -361,7 +361,7 @@ def ressuscite(adh, oldmachine):
except EnvironmentError, c: err += c.args[0] + '\n'
elif len(c.args)>1 and c.args[1] == 3 and isadm:
# Mac douteuse
no = dlg.yesno(text=u"L\'adresse MAC ne correspond à aucun constructeur, continuer ?",
no, res = dlg.yesno(text=u"L\'adresse MAC ne correspond à aucun constructeur, continuer ?",
title=u"Adresse MAC")
if not no:
try: machine.mac(str(oldmachine.mac()), 1)