On ne pose pas de lock pour la destruction d'un champ
darcs-hash:20050113094612-41617-af84db6af50d1d65b110476e9fb4c374e135dbb8.gz
This commit is contained in:
parent
ee86511df6
commit
b9e37ff55c
1 changed files with 4 additions and 0 deletions
|
@ -316,6 +316,10 @@ class crans_ldap :
|
|||
|
||||
valeur = valeur.encode('utf-8')
|
||||
|
||||
if not valeur :
|
||||
# On le lock pas un truc vide
|
||||
return True
|
||||
|
||||
lock_dn = '%s=%s,%s' % ( item, valeur, self.base_lock )
|
||||
lockid = '%s-%s' % (hostname, os.getpid() )
|
||||
modlist = ldap.modlist.addModlist({ 'objectClass' : 'lock' ,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue