diff options
author | Jan Barta <55042barta@sstebrno.eu> | 2016-06-03 10:05:34 +0200 |
---|---|---|
committer | Martin Basti <mbasti@redhat.com> | 2016-09-22 16:52:57 +0200 |
commit | 275e85d076607ce317b3aeca467167fac55bf396 (patch) | |
tree | e19911efa0b3eb7d131dba979836b6ae610f829f /ipalib/parameters.py | |
parent | 36484e8672f5ee1fdc2bd57622e330ab8dbb7671 (diff) | |
download | freeipa-275e85d076607ce317b3aeca467167fac55bf396.tar.gz freeipa-275e85d076607ce317b3aeca467167fac55bf396.tar.xz freeipa-275e85d076607ce317b3aeca467167fac55bf396.zip |
pylint: fix unneeded-not
Reviewed-By: Tomas Krizek <tkrizek@redhat.com>
Reviewed-By: Florence Blanc-Renaud <frenaud@redhat.com>
Diffstat (limited to 'ipalib/parameters.py')
-rw-r--r-- | ipalib/parameters.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ipalib/parameters.py b/ipalib/parameters.py index 37f9650ea..6a289ac52 100644 --- a/ipalib/parameters.py +++ b/ipalib/parameters.py @@ -434,9 +434,9 @@ class Param(ReadOnly): # Merge in kw from parse_param_spec(): (name, kw_from_spec) = parse_param_spec(name) check_name(name) - if not 'required' in kw: + if 'required' not in kw: kw['required'] = kw_from_spec['required'] - if not 'multivalue' in kw: + if 'multivalue' not in kw: kw['multivalue'] = kw_from_spec['multivalue'] # Add 'default' to self.kwargs |