Sinon la connesion ldap fait des clapoti dans la semoule

darcs-hash:20070110212118-f46e9-b3c89faf54dafca0d1ceea40c6f83713505667ad.gz
This commit is contained in:
gdetrez 2007-01-10 22:21:18 +01:00
parent d7b7537170
commit 4a53944284

View file

@ -383,8 +383,8 @@ class impression:
import sys
sys.path.append("/usr/scripts/gestion/")
#from ldap_crans_test import crans_ldap
from ldap_crans import crans_ldap
adh = crans_ldap().search('uid=' + adh, 'w')['adherent'][0]
from ldap_crans import CransLdap
adh = CransLdap().search('uid=' + adh, 'w')['adherent'][0]
return adh
## ################################# ##