From 5c633f49925893eccf4fd7b864a42abc465d341a Mon Sep 17 00:00:00 2001 From: cohen Date: Thu, 5 Oct 2006 01:30:45 +0200 Subject: [PATCH] petite coquille darcs-hash:20061004233045-f6463-e2aa0223b1eba211c9fbe37d44dfc73e481547d5.gz --- gestion/tools/locate-mac.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gestion/tools/locate-mac.py b/gestion/tools/locate-mac.py index cb83c14b..1ad60527 100755 --- a/gestion/tools/locate-mac.py +++ b/gestion/tools/locate-mac.py @@ -25,7 +25,7 @@ class interroge_switch (threading.Thread) : def run (self) : sw = hpswitch(self.switch) - prise = sw.where_is_mac(mac) + prise = sw.where_is_mac(self.mac) if prise != None : self.tableau.append("%-10s => prise %-2s : %s" % (self.switch.encode('iso-8859-15').replace('.adm.crans.org',''), str(prise), sw.nom(None, prise)))