summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2012-08-01 23:03:56 -0700
committerLance Stout <lancestout@gmail.com>2012-08-01 23:03:56 -0700
commit2f65fdbc76e46a3468d46bec7f2655a053cb5039 (patch)
treea52261be01ccdae03ee4828aac9828c09b8c29b5
parent2f4149c7d05f05c041ce5d393f5a13e1075c3d14 (diff)
parent59ff08174fd83d4c1c2759be7d24011ccd7419d4 (diff)
downloadslixmpp-2f65fdbc76e46a3468d46bec7f2655a053cb5039.tar.gz
slixmpp-2f65fdbc76e46a3468d46bec7f2655a053cb5039.tar.bz2
slixmpp-2f65fdbc76e46a3468d46bec7f2655a053cb5039.tar.xz
slixmpp-2f65fdbc76e46a3468d46bec7f2655a053cb5039.zip
Merge branch 'master' into develop
-rw-r--r--sleekxmpp/util/sasl/client.py12
1 files changed, 8 insertions, 4 deletions
diff --git a/sleekxmpp/util/sasl/client.py b/sleekxmpp/util/sasl/client.py
index 36f8b7a7..0bfb63f8 100644
--- a/sleekxmpp/util/sasl/client.py
+++ b/sleekxmpp/util/sasl/client.py
@@ -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):