From 0342843b7426832049ec697e347f4013a10a7907 Mon Sep 17 00:00:00 2001 From: bernat Date: Tue, 5 Oct 2004 17:53:15 +0200 Subject: [PATCH] Typo darcs-hash:20041005155315-d1718-d0956a2fa22da97f6b2f6daf19dead61ba194468.gz --- gestion/annuaires.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gestion/annuaires.py b/gestion/annuaires.py index 57e8ab7a..99b38cdd 100755 --- a/gestion/annuaires.py +++ b/gestion/annuaires.py @@ -506,7 +506,7 @@ def all_switchs(bat=None): bat = [bat] switchs = [] for b in map(lambda x: x.lower(), bat): - dup = map(lambda x: x[1], reverse(b).keys()) + dup = map(lambda x: x[0], reverse(b).keys()) # dup contient des elements en double for n in list(dict(zip(dup,[None]*len(dup)))): if int(n) == 0: