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>
This commit is contained in:
Martin Basti 2015-12-16 23:32:39 +01:00 committed by Jan Cholasta
parent fb3eab7ec7
commit 89e16a8053
2 changed files with 0 additions and 2 deletions

View File

@ -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',

View File

@ -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')