mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Remove commented code block
This commit is contained in:
parent
288c33e286
commit
6e49ee6cfc
1 changed files with 1 additions and 4 deletions
|
@ -80,10 +80,7 @@ class LookupModule(object):
|
|||
pathdir = os.path.dirname(path)
|
||||
if not os.path.isdir(pathdir):
|
||||
os.makedirs(pathdir)
|
||||
"""
|
||||
chars = ascii_letters + digits + ".,:-_"
|
||||
password = utils.random_password(length)
|
||||
"""
|
||||
|
||||
chars = "".join([getattr(string,c,c) for c in use_chars]).replace('"','').replace("'",'')
|
||||
password = ''.join(random.choice(chars) for _ in range(length))
|
||||
|
||||
|
|
Loading…
Reference in a new issue