1
0
Fork 0
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:
James Tanner 2013-11-11 14:44:13 -05:00
parent 288c33e286
commit 6e49ee6cfc

View file

@ -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))