summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2014-02-16 11:17:53 +0100
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2014-02-16 11:18:07 +0100
commit58484d0760ca521f2a162237eaa6007b3657d518 (patch)
tree6ce77b969de86cc65e4ee97253bf08e1a21f0a62
parent649492f8d32f2c48da7b8f418bcd113d361b80b1 (diff)
downloadpykolab-58484d0760ca521f2a162237eaa6007b3657d518.tar.gz
Missing if statement
-rw-r--r--pykolab/auth/ldap/auth_cache.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pykolab/auth/ldap/auth_cache.py b/pykolab/auth/ldap/auth_cache.py
index fe265f8..831e444 100644
--- a/pykolab/auth/ldap/auth_cache.py
+++ b/pykolab/auth/ldap/auth_cache.py
@@ -168,7 +168,7 @@ def init_db(reinit=False):
if reinit:
import os
- os.path.isfile('%s/auth_cache.db' % (KOLAB_LIB_PATH)):
+ if os.path.isfile('%s/auth_cache.db' % (KOLAB_LIB_PATH)):
os.unlink('%s/auth_cache.db' % (KOLAB_LIB_PATH))
echo = conf.debuglevel > 8