summaryrefslogtreecommitdiffstats
path: root/pykolab/setup/setup_ldap.py
diff options
context:
space:
mode:
authorPaul Klos <kolab@klos2day.nl>2012-10-24 07:31:06 -0400
committerPaul Klos <kolab@klos2day.nl>2012-10-24 07:31:06 -0400
commit0d0c09ab361d6712a2fc43ee9c487dbad6a98865 (patch)
tree9d5f1c094a2d665277ba8b98a3af95600cdb6fa0 /pykolab/setup/setup_ldap.py
parent97fe39d0bf4bc0ce86a454d07ea7a4e58c2c4756 (diff)
downloadpykolab-0d0c09ab361d6712a2fc43ee9c487dbad6a98865.tar.gz
Corrected indentation
Diffstat (limited to 'pykolab/setup/setup_ldap.py')
-rw-r--r--pykolab/setup/setup_ldap.py10
1 files changed, 4 insertions, 6 deletions
diff --git a/pykolab/setup/setup_ldap.py b/pykolab/setup/setup_ldap.py
index c173be4..2960c49 100644
--- a/pykolab/setup/setup_ldap.py
+++ b/pykolab/setup/setup_ldap.py
@@ -223,14 +223,12 @@ ServerAdminPwd = %(admin_pass)s
os.close(fp)
if os.path.isfile("/usr/sbin/setup-ds-admin.pl"):
- setup_ds_admin = "/usr/sbin/setup-ds-admin.pl"
-# elif os.path.isfile("/usr/sbin/setup-ds-admin"):
-# setup_ds_admin = "/usr/sbin/setup-ds-admin"
+ setup_ds_admin = "/usr/sbin/setup-ds-admin.pl"
elif os.path.isfile("/usr/sbin/setup-ds"):
- setup_ds_admin = "/usr/sbin/setup-ds"
+ setup_ds_admin = "/usr/sbin/setup-ds"
else:
- log.error(_("No directory server setup tool available."))
-
+ log.error(_("No directory server setup tool available."))
+
command = [
setup_ds_admin,
'--debug',