darcs-hash:20041005155315-d1718-d0956a2fa22da97f6b2f6daf19dead61ba194468.gz
This commit is contained in:
bernat 2004-10-05 17:53:15 +02:00
parent 6fad6b1ba8
commit 0342843b74

View file

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