예제 #1
0
def password_validator(optdict, name, value):
    """validate and return a string for option of type 'password'"""
    return optparse.check_password(None, name, value)
예제 #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)