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:
@@ -124,7 +124,7 @@ class selfservice_add(crud.Create):
|
||||
msg_summary = _('Added selfservice "%(value)s"')
|
||||
|
||||
def execute(self, aciname, **kw):
|
||||
if not 'permissions' in kw:
|
||||
if 'permissions' not in kw:
|
||||
kw['permissions'] = (u'write',)
|
||||
kw['selfaci'] = True
|
||||
kw['aciprefix'] = ACI_PREFIX
|
||||
|
||||
Reference in New Issue
Block a user