diff options
author | Martin Basti <mbasti@redhat.com> | 2015-12-16 23:32:39 +0100 |
---|---|---|
committer | Jan Cholasta <jcholast@redhat.com> | 2015-12-23 07:59:22 +0100 |
commit | 89e16a8053293eac2ab0fcff9ea073a18b453381 (patch) | |
tree | 6bfa6c6cd081de01501dec5044eaace29b92949e | |
parent | fb3eab7ec74ccae7b45a608fe40a6ab4d4093488 (diff) | |
download | freeipa-89e16a8053293eac2ab0fcff9ea073a18b453381.tar.gz freeipa-89e16a8053293eac2ab0fcff9ea073a18b453381.tar.xz freeipa-89e16a8053293eac2ab0fcff9ea073a18b453381.zip |
Enable pylint duplicated-key check
Enables check and fixes:
ipatests/test_xmlrpc/test_permission_plugin.py:65:
[W0109(duplicate-key), ] Duplicate key 'ipapermlocation' in dictionary)
Reviewed-By: Jan Cholasta <jcholast@redhat.com>
-rw-r--r-- | ipatests/test_xmlrpc/test_permission_plugin.py | 1 | ||||
-rwxr-xr-x | make-lint | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/ipatests/test_xmlrpc/test_permission_plugin.py b/ipatests/test_xmlrpc/test_permission_plugin.py index d0bee97df..517b8205e 100644 --- a/ipatests/test_xmlrpc/test_permission_plugin.py +++ b/ipatests/test_xmlrpc/test_permission_plugin.py @@ -85,7 +85,6 @@ permission3_attributelevelrights = { 'ipapermtargetto': u'rscwo', 'ipapermtargetfrom': u'rscwo', 'ipapermbindruletype': u'rscwo', - 'ipapermlocation': u'rscwo', 'ipapermtarget': u'rscwo', 'type': u'rscwo', 'targetgroup': u'rscwo', @@ -256,7 +256,6 @@ def main(): linter.set_option('disable', 'bare-except') linter.set_option('disable', 'broad-except') linter.set_option('disable', 'dangerous-default-value') - linter.set_option('disable', 'duplicate-key') linter.set_option('disable', 'eval-used') linter.set_option('disable', 'exec-used') linter.set_option('disable', 'expression-not-assigned') |