bugs
darcs-hash:20051002214640-41617-33e7cf09168a18dece813a082c3288ab40205ee6.gz
This commit is contained in:
parent
c946436536
commit
cc94eac59b
1 changed files with 3 additions and 3 deletions
|
@ -834,13 +834,13 @@ class base_classes_crans(crans_ldap) :
|
||||||
self.modifs.append('blacklist_' + new[2])
|
self.modifs.append('blacklist_' + new[2])
|
||||||
if not hasattr(self,"__blacklist_restart") :
|
if not hasattr(self,"__blacklist_restart") :
|
||||||
self.__blacklist_restart={}
|
self.__blacklist_restart={}
|
||||||
if self.__blacklist_restart.has_key(new[2]) :
|
if not self.__blacklist_restart.has_key(new[2]) :
|
||||||
self.__blacklist_restart[new[2]] = [ debut, fin ]
|
self.__blacklist_restart[new[2]] = [ debut, fin ]
|
||||||
else :
|
else :
|
||||||
if debut not in self.__blacklist_restart[new[2]] :
|
if debut not in self.__blacklist_restart[new[2]] :
|
||||||
self.__blacklist_restart[new[2]].Append(debut)
|
self.__blacklist_restart[new[2]].append(debut)
|
||||||
if fin!=-1 and fin not in self.__blacklist_restart[new[2]] :
|
if fin!=-1 and fin not in self.__blacklist_restart[new[2]] :
|
||||||
self.__blacklist_restart[new[2]].Append(fin)
|
self.__blacklist_restart[new[2]].append(fin)
|
||||||
|
|
||||||
return liste
|
return liste
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue