def __init__(self): if 'md5' not in hashlib.algorithms_available: raise Exception( 'vb5_legacy autentication backend requires md5 support from ' 'hashlib or it will not run.')