mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Address issues found by new pylint 2.5.0
* fix multiple exception-escape * fix function signatures of DsInstance start/stop/restart * silence f-string-without-interpolation * fix too-many-function-args in host plugin Fixes: https://pagure.io/freeipa/issue/8297 Signed-off-by: Christian Heimes <cheimes@redhat.com> Reviewed-By: Stanislav Levin <slev@altlinux.org>
This commit is contained in:
committed by
François Cami
parent
b7415c3ddc
commit
9941c9ee95
@@ -858,8 +858,8 @@ migration process might be incomplete\n''')
|
||||
try:
|
||||
callback(
|
||||
ldap, entry_attrs.dn, entry_attrs, e, options)
|
||||
except errors.ExecutionError as e:
|
||||
failed[ldap_obj_name][pkey] = unicode(e)
|
||||
except errors.ExecutionError as e2:
|
||||
failed[ldap_obj_name][pkey] = unicode(e2)
|
||||
continue
|
||||
else:
|
||||
failed[ldap_obj_name][pkey] = unicode(e)
|
||||
|
||||
Reference in New Issue
Block a user