summaryrefslogtreecommitdiffstats
path: root/daemons
diff options
context:
space:
mode:
authorMartin Basti <mbasti@redhat.com>2016-10-04 16:54:44 +0200
committerMartin Basti <mbasti@redhat.com>2016-10-06 10:43:36 +0200
commitd9375881460d63cdd696bb0705da0ac205db9870 (patch)
tree3c7c4016f6b5ffd48f390d74003dffdf97b6a0ea /daemons
parentac94d32c4fd543e33211c0331330c80c619e0058 (diff)
downloadfreeipa-d9375881460d63cdd696bb0705da0ac205db9870.tar.gz
freeipa-d9375881460d63cdd696bb0705da0ac205db9870.tar.xz
freeipa-d9375881460d63cdd696bb0705da0ac205db9870.zip
Pylint: remove unused variables from installers and scripts
Reviewed-By: Stanislav Laznicka <slaznick@redhat.com>
Diffstat (limited to 'daemons')
-rwxr-xr-xdaemons/dnssec/ipa-ods-exporter6
1 files changed, 2 insertions, 4 deletions
diff --git a/daemons/dnssec/ipa-ods-exporter b/daemons/dnssec/ipa-ods-exporter
index bb208d233..66332490a 100755
--- a/daemons/dnssec/ipa-ods-exporter
+++ b/daemons/dnssec/ipa-ods-exporter
@@ -41,8 +41,6 @@ from ipapython.dnssec.abshsm import sync_pkcs11_metadata, wrappingmech_name2id
from ipapython.dnssec.ldapkeydb import LdapKeyDB
from ipapython.dnssec.localhsm import LocalHSM
-# pylint: disable=unused-variable
-
DAEMONNAME = 'ipa-ods-exporter'
PRINCIPAL = None # not initialized yet
WORKDIR = os.path.join(paths.VAR_OPENDNSSEC_DIR ,'tmp')
@@ -446,13 +444,13 @@ def receive_systemd_command(log):
raise KeyError('Exactly one socket is expected.')
sck = socket.fromfd(fds[0], socket.AF_UNIX, socket.SOCK_STREAM)
- rlist, wlist, xlist = select.select([sck], [], [], 0)
+ rlist, _wlist, _xlist = select.select([sck], [], [], 0)
if not rlist:
log.critical('socket activation did not return socket with a command')
sys.exit(0)
log.debug('accepting new connection')
- conn, addr = sck.accept()
+ conn, _addr = sck.accept()
log.debug('accepted new connection %s', repr(conn))
# this implements cmdhandler_handle_cmd() logic