[arpwatch] On n'envoie pas de mail pour les évènement inintéressants.
This commit is contained in:
parent
cb58f8f6b9
commit
7560f05a1e
5 changed files with 51 additions and 14 deletions
|
@ -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, res = dlg.yesno(text=u"L\'adresse MAC ne correspond à aucun constructeur, continuer ?",
|
||||
no = 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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue