Sinon la connesion ldap fait des clapoti dans la semoule
darcs-hash:20070110212118-f46e9-b3c89faf54dafca0d1ceea40c6f83713505667ad.gz
This commit is contained in:
parent
d7b7537170
commit
4a53944284
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
||||
## ################################# ##
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue