From b5e66c60ce9a001a973199e6969c6e782ae96f55 Mon Sep 17 00:00:00 2001 From: chove Date: Sun, 25 Sep 2005 01:13:10 +0200 Subject: [PATCH] menage darcs-hash:20050924231310-4ec08-5418f1c7a82f35748da4c8242263ddc955dfc509.gz --- gestion/tools/locate-mac.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/gestion/tools/locate-mac.py b/gestion/tools/locate-mac.py index fee04670..abba1907 100755 --- a/gestion/tools/locate-mac.py +++ b/gestion/tools/locate-mac.py @@ -25,8 +25,6 @@ class interroge_switch (threading.Thread) : sw = hpswitch(self.switch) prise = sw.where_is_mac(mac) if prise != None : - # on a trouvé une prise, on affiche si c'est pas un uplink - # if 'uplink' not in sw.nom(None, prise) or switch == 'backbone' : print "%-10s => prise %-2s : %s" % (self.switch.encode('iso-8859-15').replace('.adm.crans.org',''), str(prise), sw.nom(None, prise)) # on onterroge trois fois car il donne pas toujours les clients