mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
pylint: fix unneeded-not
Reviewed-By: Tomas Krizek <tkrizek@redhat.com> Reviewed-By: Florence Blanc-Renaud <frenaud@redhat.com>
This commit is contained in:
@@ -909,7 +909,7 @@ last, after all sets and adds."""),
|
||||
newdict = {}
|
||||
if attrs is None:
|
||||
attrs = []
|
||||
elif not type(attrs) in (list, tuple):
|
||||
elif type(attrs) not in (list, tuple):
|
||||
attrs = [attrs]
|
||||
for a in attrs:
|
||||
m = re.match("\s*(.*?)\s*=\s*(.*?)\s*$", a)
|
||||
|
||||
Reference in New Issue
Block a user