mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-06-10 18:15:39 +00:00
Ruff formatting
Signed-off-by: Abhijeet Kasurde <Akasurde@redhat.com>
This commit is contained in:
parent
4738d7ce95
commit
b4f9830862
1 changed files with 1 additions and 1 deletions
|
|
@ -283,7 +283,7 @@ class LookupModule(LookupBase):
|
|||
remaining_length = length - len(result)
|
||||
if min_non_special <= remaining_length:
|
||||
# atleast one non-special character
|
||||
available_chars_set = available_chars_set.replace(special_chars, '')
|
||||
available_chars_set = available_chars_set.replace(special_chars, "")
|
||||
|
||||
result += [random_generator.choice(available_chars_set) for dummy in range(remaining_length)]
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue