summaryrefslogtreecommitdiffstats
path: root/pykolab
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2012-12-21 18:15:01 +0100
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2012-12-21 18:15:01 +0100
commit86e7150cdd76520b12825dec523619339d5da944 (patch)
treecb88624c67f422a6e90c316f55211302389b0788 /pykolab
parent2ccc2fbf61136b3f69265007da278f2819568969 (diff)
downloadpykolab-86e7150cdd76520b12825dec523619339d5da944.tar.gz
Fix error in if clause logic
Diffstat (limited to 'pykolab')
-rw-r--r--pykolab/setup/setup_ldap.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pykolab/setup/setup_ldap.py b/pykolab/setup/setup_ldap.py
index 2c5124f..a7cedba 100644
--- a/pykolab/setup/setup_ldap.py
+++ b/pykolab/setup/setup_ldap.py
@@ -289,7 +289,7 @@ ServerAdminPwd = %(admin_pass)s
schema_file = None
for root, directories, filenames in os.walk('/usr/share/doc/'):
for filename in filenames:
- if filename.startswith('kolab') and filename.endswith('.ldif') and not schema_file == None:
+ if filename.startswith('kolab') and filename.endswith('.ldif') and schema_file == None:
schema_file = os.path.join(root,filename)
if not schema_file == None: