utils: Remove unused method

Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
Sunil Mohan Adapa 2018-07-23 16:58:51 -07:00 committed by James Valleroy
parent 1a11b4967a
commit 89f31db71f
No known key found for this signature in database
GPG Key ID: 77C0C75E7B650808

View File

@ -121,10 +121,6 @@ class YAMLFile(object):
return os.stat(self.yaml_file).st_size == 0
def yes_or_no(cond):
return 'yes' if cond else 'no'
def generate_password(size=32):
"""Generate a random password using ascii alphabet and digits."""
chars = (random.SystemRandom().choice(string.ascii_letters + string.digits)