From 43dab28884ca68b61986abc471d3cd140d67b24c Mon Sep 17 00:00:00 2001 From: cohen Date: Thu, 5 Oct 2006 01:37:07 +0200 Subject: [PATCH] prcision darcs-hash:20061004233707-f6463-e67f2bfdc56d372dafdd5e3f3705f70fa7e47199.gz --- gestion/tools/locate-mac.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gestion/tools/locate-mac.py b/gestion/tools/locate-mac.py index 1ad60527..18407ecb 100755 --- a/gestion/tools/locate-mac.py +++ b/gestion/tools/locate-mac.py @@ -40,8 +40,11 @@ def get_trace(mac): while len(threading.enumerate()) > 1 : sleep(1) - return '\n'.join(tableau) + resultat ='tracage de %s\n' % mac + resultat += '\n'.join(tableau) + return resultat + # on interroge les switchs et on fait un whos sur la mac if __name__ == '__main__': mac = format_mac(sys.argv[1])