def password_validator(optdict, name, value):
    """validate and return a string for option of type 'password'"""
    return optparse.check_password(None, name, value)
Exemple #2
0
def password_validator(optdict, name, value):
    """validate and return a string for option of type 'password'"""
    return optparse.check_password(None, name, value)