From 70a2e25b0d3892d9c075c7042a2a34ea7f9c7978 Mon Sep 17 00:00:00 2001 From: glondu Date: Sat, 1 Apr 2006 03:41:44 +0200 Subject: [PATCH] On retire a. darcs-hash:20060401014144-68412-40338a9d91af9191ae337d3ce5d8ecfb04efbe7e.gz --- gestion/ldap_crans.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gestion/ldap_crans.py b/gestion/ldap_crans.py index 1ddc8c61..6cfe643b 100755 --- a/gestion/ldap_crans.py +++ b/gestion/ldap_crans.py @@ -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 }))