From f5beac2afafeab1f1a788d1409b61834b124469c Mon Sep 17 00:00:00 2001 From: Lance Stout Date: Mon, 14 May 2012 23:12:54 -0700 Subject: Use SASLPrepFailure as the exception name instead of UnicodeError. --- sleekxmpp/thirdparty/suelta/exceptions.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'sleekxmpp/thirdparty/suelta/exceptions.py') diff --git a/sleekxmpp/thirdparty/suelta/exceptions.py b/sleekxmpp/thirdparty/suelta/exceptions.py index 625cca0e..40d8bad3 100644 --- a/sleekxmpp/thirdparty/suelta/exceptions.py +++ b/sleekxmpp/thirdparty/suelta/exceptions.py @@ -29,3 +29,7 @@ class SASLCancelled(SASLError): :type sasl: `suelta.SASL` """ super(SASLCancelled, self).__init__(sasl, "User cancelled", mech) + + +class SASLPrepFailure(UnicodeError): + pass -- cgit v1.2.3