summaryrefslogtreecommitdiffstats
path: root/install
diff options
context:
space:
mode:
authorPetr Viktorin <pviktori@redhat.com>2013-01-10 06:14:15 -0500
committerMartin Kosek <mkosek@redhat.com>2013-03-01 16:59:42 +0100
commitc0a89efd6852bfd07dec4c8b1e74f0e927e7fdd8 (patch)
treed5aba820545bebcacae11a33fc4233eef25972bd /install
parentef1cd6e24732e7fa64f6c4b0ce32a909fbf1df5d (diff)
downloadfreeipa-c0a89efd6852bfd07dec4c8b1e74f0e927e7fdd8.tar.gz
freeipa-c0a89efd6852bfd07dec4c8b1e74f0e927e7fdd8.tar.xz
freeipa-c0a89efd6852bfd07dec4c8b1e74f0e927e7fdd8.zip
Remove some unused imports
Remove all unused LDAP-related imports, plus some other ones. This should make it easier to quickly check what uses which LDAP wrapper
Diffstat (limited to 'install')
-rw-r--r--install/restart_scripts/renew_ra_cert1
-rwxr-xr-xinstall/tools/ipa-adtrust-install2
-rwxr-xr-xinstall/tools/ipa-dns-install1
-rwxr-xr-xinstall/tools/ipa-managed-entries1
4 files changed, 0 insertions, 5 deletions
diff --git a/install/restart_scripts/renew_ra_cert b/install/restart_scripts/renew_ra_cert
index a70ba5c1a..e5418fdaf 100644
--- a/install/restart_scripts/renew_ra_cert
+++ b/install/restart_scripts/renew_ra_cert
@@ -32,7 +32,6 @@ from ipalib import api
from ipapython.dn import DN
from ipalib import errors
from ipaserver.plugins.ldap2 import ldap2
-import ldap as _ldap
api.bootstrap(context='restart')
api.finalize()
diff --git a/install/tools/ipa-adtrust-install b/install/tools/ipa-adtrust-install
index 00b64700d..ea8d4e467 100755
--- a/install/tools/ipa-adtrust-install
+++ b/install/tools/ipa-adtrust-install
@@ -21,7 +21,6 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
-from ipaserver.plugins.ldap2 import ldap2
from ipaserver.install import adtrustinstance
from ipaserver.install.installutils import *
from ipaserver.install import service
@@ -30,7 +29,6 @@ from ipapython import ipautil, sysrestore
from ipalib import api, errors, util
from ipapython.config import IPAOptionParser
import krbV
-import ldap
from ipapython.ipa_log_manager import *
from ipapython.dn import DN
diff --git a/install/tools/ipa-dns-install b/install/tools/ipa-dns-install
index 2ab90b648..4918b95df 100755
--- a/install/tools/ipa-dns-install
+++ b/install/tools/ipa-dns-install
@@ -19,7 +19,6 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
-from ipaserver.plugins.ldap2 import ldap2
from ipaserver.install import service, bindinstance, ntpinstance, httpinstance
from ipaserver.install.installutils import *
from ipaserver.install import installutils
diff --git a/install/tools/ipa-managed-entries b/install/tools/ipa-managed-entries
index e68d4d360..186a816ac 100755
--- a/install/tools/ipa-managed-entries
+++ b/install/tools/ipa-managed-entries
@@ -26,7 +26,6 @@ try:
from ipapython import ipautil, config
from ipaserver.install import installutils
from ipaserver import ipaldap
- from ipaserver.plugins.ldap2 import ldap2
from ipalib import api, errors
from ipapython.ipa_log_manager import *
from ipapython.dn import DN