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