mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Fix pep8 error in password lookup
This commit is contained in:
parent
e81c976636
commit
b815a09529
1 changed files with 2 additions and 1 deletions
|
@ -62,7 +62,8 @@ class LookupModule(object):
|
|||
paramvals[name] = int(value)
|
||||
elif name == 'chars':
|
||||
use_chars=[]
|
||||
if ",," in value: use_chars.append(',')
|
||||
if ",," in value:
|
||||
use_chars.append(',')
|
||||
use_chars.extend(value.replace(',,',',').split(','))
|
||||
paramvals['chars'] = use_chars
|
||||
else:
|
||||
|
|
Loading…
Reference in a new issue