Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mrDoctorWho/xmpppy.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralkorgun <alkorgun@gmail.com>2013-12-16 22:31:45 +0400
committeralkorgun <alkorgun@gmail.com>2013-12-16 22:31:45 +0400
commit180b1137d5a1b0fe05ca8d5aa99f6e43a25e3777 (patch)
treec7398892c1e4106d825d7f58550b09e1354445fd /xmpp/auth.py
parent85e01717e7c9866bbe574fbf5ad89689b6b2fe93 (diff)
exceptions became more specified; fixed bug with unpacking args of socket.error in transports.py
Diffstat (limited to 'xmpp/auth.py')
-rw-r--r--xmpp/auth.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmpp/auth.py b/xmpp/auth.py
index 95842f4..ca21835 100644
--- a/xmpp/auth.py
+++ b/xmpp/auth.py
@@ -207,7 +207,7 @@ class SASL(PlugIn):
self.startsasl = "failure"
try:
reason = challenge.getChildren()[0]
- except:
+ except Exception:
reason = challenge
self.DEBUG("Failed SASL authentification: %s" % reason, "error")
raise NodeProcessed()