On retire a.
darcs-hash:20060401014144-68412-40338a9d91af9191ae337d3ce5d8ecfb04efbe7e.gz
This commit is contained in:
parent
2832e6bfc1
commit
70a2e25b0d
1 changed files with 1 additions and 1 deletions
|
@ -480,7 +480,7 @@ class crans_ldap:
|
|||
return
|
||||
keep_date = []
|
||||
for date in serv_dates[new[1:]]:
|
||||
if time.time() - time.timezone < int(date):
|
||||
if time.time() < int(date):
|
||||
keep_date.append(date)
|
||||
if keep_date:
|
||||
self.conn.modify_s(remove_dn, ldap.modlist.modifyModlist({'start': serv_dates[new[1:]]}, { 'start': keep_date }))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue