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:17:53 +0100
commit4c5ba0430998dac6fce92b7de653b8a965619e2b (patch)
tree39e45baee99547ec9ed5933f3548fd8ad3e224d5
parent9c8f300fe25f6e37be6fbe748577dcc27406b391 (diff)
downloadpykolab-4c5ba0430998dac6fce92b7de653b8a965619e2b.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