From 9c8422563b2a6d25055fb6cf14c7c7f1085535fd Mon Sep 17 00:00:00 2001 From: glondu Date: Thu, 5 Oct 2006 07:49:24 +0200 Subject: [PATCH] Tentative de rparation d'Arpwatch. darcs-hash:20061005054924-68412-a22aa40a76a83c9b55bacf126d4fecdcd0b45327.gz --- surveillance/arpwatch_sendmail.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/surveillance/arpwatch_sendmail.py b/surveillance/arpwatch_sendmail.py index cd60274d..092c4f4a 100755 --- a/surveillance/arpwatch_sendmail.py +++ b/surveillance/arpwatch_sendmail.py @@ -28,12 +28,6 @@ Commande : %s """ % (r, commande, s) else: s = "\n" + s + "\n" - #on recupere le resultat d'un locate - locate_mac = "/usr/scripts/gestion/tools/locate-mac.py %s" % mac - r2, s2 = getstatusoutput(locate_mac) - # on l'ajoute a la sortie - s = s+ "\n" + s2 - return s if __name__ == "__main__":