Fix SASL exceptions in Py3

This commit is contained in:
Lance Stout 2012-08-01 17:43:38 -07:00
parent b84e359770
commit 59ff08174f

View file

@ -79,19 +79,23 @@ def sasl_mech(score):
class SASLNoAppropriateMechanism(Exception):
pass
def __init__(self, value=''):
self.message = value
class SASLCancelled(Exception):
pass
def __init__(self, value=''):
self.message = value
class SASLFailed(Exception):
pass
def __init__(self, value=''):
self.message = value
class SASLMutualAuthFailed(SASLFailed):
pass
def __init__(self, value=''):
self.message = value
class Mech(object):