diff options
author | Martin Basti <mbasti@redhat.com> | 2016-09-26 18:24:39 +0200 |
---|---|---|
committer | Martin Basti <mbasti@redhat.com> | 2016-09-27 13:35:58 +0200 |
commit | 45e3aee35219c89c07d590003a334f8db658a3b2 (patch) | |
tree | cb535e7f725f31d0bc6b5faf405b08fac05a3e96 /daemons | |
parent | 9d83be3647547cfca4e129cfeb63771213232cf7 (diff) | |
download | freeipa-45e3aee35219c89c07d590003a334f8db658a3b2.tar.gz freeipa-45e3aee35219c89c07d590003a334f8db658a3b2.tar.xz freeipa-45e3aee35219c89c07d590003a334f8db658a3b2.zip |
Pylint: enable check for unused-variables
Unused variables may:
* make code less readable
* create dead code
* potentialy hide issues/errors
Enabled check should prevent to leave unused variable in code
Check is locally disabled for modules that fix is not clear or easy or have too many occurences of
unused variables
Reviewed-By: Florence Blanc-Renaud <frenaud@redhat.com>
Reviewed-By: Stanislav Laznicka <slaznick@redhat.com>
Diffstat (limited to 'daemons')
-rwxr-xr-x | daemons/dnssec/ipa-ods-exporter | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/daemons/dnssec/ipa-ods-exporter b/daemons/dnssec/ipa-ods-exporter index 385764a6d..bb208d233 100755 --- a/daemons/dnssec/ipa-ods-exporter +++ b/daemons/dnssec/ipa-ods-exporter @@ -41,6 +41,8 @@ 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') |