mirror of
https://github.com/ansible-collections/community.crypto.git
synced 2026-05-08 06:13:03 +00:00
Cleanup with ruff check (#963)
* Implement improvements suggested by ruff check. * Add ruff check to CI. * Add changelog fragment.
This commit is contained in:
@@ -440,9 +440,8 @@ def main() -> t.NoReturn:
|
||||
module.params["deactivate_authzs"] == "always"
|
||||
or (module.params["deactivate_authzs"] == "on_success" and done)
|
||||
or (module.params["deactivate_authzs"] == "on_error" and not done)
|
||||
):
|
||||
if order:
|
||||
client.deactivate_authzs(order)
|
||||
) and order:
|
||||
client.deactivate_authzs(order)
|
||||
module.exit_json(
|
||||
changed=changed,
|
||||
account_uri=client.client.account_uri,
|
||||
|
||||
Reference in New Issue
Block a user