mirror of
https://github.com/freeipa/ansible-freeipa.git
synced 2026-07-29 10:54:44 +00:00
Fix or disable pylint's no-else-return.
Fixed usage of `else` right after return, or disable pylint evaluation when it would play against code readability.
This commit is contained in:
@@ -250,8 +250,8 @@ def find_service(module, name):
|
||||
_res["usercertificate"] = [encode_certificate(cert) for
|
||||
cert in certs]
|
||||
return _res
|
||||
else:
|
||||
return None
|
||||
|
||||
return None
|
||||
|
||||
|
||||
def gen_args(pac_type, auth_ind, skip_host_check, force, requires_pre_auth,
|
||||
|
||||
Reference in New Issue
Block a user