pylint: fix unneeded-not

Reviewed-By: Tomas Krizek <tkrizek@redhat.com>
Reviewed-By: Florence Blanc-Renaud <frenaud@redhat.com>
This commit is contained in:
Jan Barta
2016-06-03 10:05:34 +02:00
committed by Martin Basti
parent 36484e8672
commit 275e85d076
11 changed files with 14 additions and 15 deletions

View File

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