summaryrefslogtreecommitdiffstats
path: root/ipapython/dnssec
diff options
context:
space:
mode:
authorMartin Basti <mbasti@redhat.com>2016-10-07 15:07:49 +0200
committerMartin Basti <mbasti@redhat.com>2016-10-11 16:50:32 +0200
commit4628522c532c6df0295308e5f749989c2536caa6 (patch)
tree70dab1dab7558d030f409b87e62a7bdf4680bbce /ipapython/dnssec
parent49b29591aa979560068449b78fd547915420ff08 (diff)
Pylint: fix the rest of unused local variables
Reviewed-By: Pavel Vomacka <pvomacka@redhat.com>
Diffstat (limited to 'ipapython/dnssec')
-rwxr-xr-xipapython/dnssec/localhsm.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/ipapython/dnssec/localhsm.py b/ipapython/dnssec/localhsm.py
index 338adda0f..d02fc75d1 100755
--- a/ipapython/dnssec/localhsm.py
+++ b/ipapython/dnssec/localhsm.py
@@ -18,8 +18,6 @@ from ipapython.dnssec.abshsm import (attrs_name2id, attrs_id2name, AbstractHSM,
keytype_id2name, keytype_name2id,
ldap2p11helper_api_params)
-# pylint: disable=unused-variable
-
private_key_api_params = set(["label", "id", "data", "unwrapping_key",
"wrapping_mech", "key_type", "cka_always_authenticate", "cka_copyable",
"cka_decrypt", "cka_derive", "cka_extractable", "cka_modifiable",
@@ -81,7 +79,7 @@ class Key(collections.MutableMapping):
def __len__(self):
cnt = 0
- for attr in self:
+ for _attr in self:
cnt += 1
return cnt