darcs-hash:20050924231310-4ec08-5418f1c7a82f35748da4c8242263ddc955dfc509.gz
This commit is contained in:
chove 2005-09-25 01:13:10 +02:00
parent 9ba8694074
commit b5e66c60ce

View file

@ -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