summaryrefslogtreecommitdiffstats
path: root/daemons
diff options
context:
space:
mode:
authorMartin Basti <mbasti@redhat.com>2015-12-16 16:06:03 +0100
committerJan Cholasta <jcholast@redhat.com>2015-12-23 07:59:22 +0100
commite4075b1fe26a608cd1f3778ee1f655a5f5700c65 (patch)
tree11529085e2b884007068a14ea1fa3ed33d62103c /daemons
parent774d0eaa8eb940ea9c42c4ef12eb80e509fd9c3b (diff)
downloadfreeipa-e4075b1fe26a608cd1f3778ee1f655a5f5700c65.tar.gz
freeipa-e4075b1fe26a608cd1f3778ee1f655a5f5700c65.tar.xz
freeipa-e4075b1fe26a608cd1f3778ee1f655a5f5700c65.zip
Remove unused imports
This patch removes unused imports, alse pylint has been configured to check unused imports. Reviewed-By: Jan Cholasta <jcholast@redhat.com>
Diffstat (limited to 'daemons')
-rwxr-xr-xdaemons/dnssec/ipa-dnskeysync-replica10
-rwxr-xr-xdaemons/dnssec/ipa-dnskeysyncd2
-rwxr-xr-xdaemons/dnssec/ipa-ods-exporter4
3 files changed, 0 insertions, 16 deletions
diff --git a/daemons/dnssec/ipa-dnskeysync-replica b/daemons/dnssec/ipa-dnskeysync-replica
index b6f4be5ec..69a3a68e7 100755
--- a/daemons/dnssec/ipa-dnskeysync-replica
+++ b/daemons/dnssec/ipa-dnskeysync-replica
@@ -9,19 +9,10 @@ This program should be run only on replicas, not on DNSSEC masters.
"""
from binascii import hexlify
-from datetime import datetime
-import dns.dnssec
-import fcntl
from gssapi.exceptions import GSSError
import logging
import os
-from pprint import pprint
-import subprocess
-import socket
import sys
-import systemd.daemon
-import systemd.journal
-import time
import ipalib
from ipapython.dn import DN
@@ -33,7 +24,6 @@ from ipaplatform.paths import paths
from ipapython.dnssec.abshsm import sync_pkcs11_metadata, ldap2p11helper_api_params, wrappingmech_name2id
from ipapython.dnssec.ldapkeydb import LdapKeyDB
from ipapython.dnssec.localhsm import LocalHSM
-import _ipap11helper
DAEMONNAME = 'ipa-dnskeysyncd'
PRINCIPAL = None # not initialized yet
diff --git a/daemons/dnssec/ipa-dnskeysyncd b/daemons/dnssec/ipa-dnskeysyncd
index fa54806f9..a381c29b5 100755
--- a/daemons/dnssec/ipa-dnskeysyncd
+++ b/daemons/dnssec/ipa-dnskeysyncd
@@ -6,10 +6,8 @@
import sys
import ldap
import ldapurl
-import logging
import os
import signal
-import systemd.journal
import time
from ipalib import api
diff --git a/daemons/dnssec/ipa-ods-exporter b/daemons/dnssec/ipa-ods-exporter
index b90157c4e..403ba0555 100755
--- a/daemons/dnssec/ipa-ods-exporter
+++ b/daemons/dnssec/ipa-ods-exporter
@@ -24,18 +24,15 @@ import fcntl
from gssapi.exceptions import GSSError
import logging
import os
-import subprocess
import socket
import select
import sys
import systemd.daemon
import systemd.journal
import sqlite3
-import time
import ipalib
from ipapython.dn import DN
-from ipapython.ipa_log_manager import root_logger, standard_logging_setup
from ipapython import ipaldap
from ipapython import ipautil
from ipaplatform.paths import paths
@@ -43,7 +40,6 @@ from ipaplatform.paths import paths
from ipapython.dnssec.abshsm import sync_pkcs11_metadata, wrappingmech_name2id
from ipapython.dnssec.ldapkeydb import LdapKeyDB
from ipapython.dnssec.localhsm import LocalHSM
-import _ipap11helper
DAEMONNAME = 'ipa-ods-exporter'
PRINCIPAL = None # not initialized yet