mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-28 14:39:07 +00:00
[PR #11400/236b9c0e backport][stable-12] Sort imports with ruff check --fix (#11409)
Sort imports with ruff check --fix (#11400)
Sort imports with ruff check --fix.
(cherry picked from commit 236b9c0e04)
Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
parent
ebaf2e71d5
commit
b769b0bc01
829 changed files with 1644 additions and 1692 deletions
|
|
@ -8,7 +8,6 @@
|
|||
|
||||
from __future__ import annotations
|
||||
|
||||
|
||||
DOCUMENTATION = r"""
|
||||
module: ldap_entry
|
||||
short_description: Add or remove LDAP entries
|
||||
|
|
@ -133,6 +132,7 @@ import traceback
|
|||
|
||||
from ansible.module_utils.basic import AnsibleModule, missing_required_lib
|
||||
from ansible.module_utils.common.text.converters import to_bytes
|
||||
|
||||
from ansible_collections.community.general.plugins.module_utils.ldap import (
|
||||
LdapGeneric,
|
||||
gen_specs,
|
||||
|
|
@ -141,8 +141,8 @@ from ansible_collections.community.general.plugins.module_utils.ldap import (
|
|||
|
||||
LDAP_IMP_ERR = None
|
||||
try:
|
||||
import ldap.modlist
|
||||
import ldap.controls
|
||||
import ldap.modlist
|
||||
|
||||
HAS_LDAP = True
|
||||
except ImportError:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue