From 61b000c085e3fea0b1ebcd67c591392ec0d8236a Mon Sep 17 00:00:00 2001 From: bernat Date: Thu, 7 Oct 2004 14:46:56 +0200 Subject: [PATCH] Je vois pas l'interet du try part se payer la liste de tout le monde lors d'un whos mal plac. darcs-hash:20041007124656-d1718-7a1f6a6780c5aa86f99019923600f8f3804323df.gz --- gestion/ldap_crans.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gestion/ldap_crans.py b/gestion/ldap_crans.py index f0dac088..d46576a7 100755 --- a/gestion/ldap_crans.py +++ b/gestion/ldap_crans.py @@ -438,8 +438,7 @@ class crans_ldap : el = '(%s=%s*)' % ( champ, expr) elif champ == 'macAddress' : # Formatage adresse mac - try : el = '(macAddress=%s)' % format_mac(expr) - except : return '' + el = '(macAddress=%s)' % format_mac(expr) elif champ == 'paiement' and expr=='ok' : # Paiement donnant droit à une connexion maintenant ? if localtime()[1] == 9 :