]> code.delx.au - pymsnt/blobdiff - src/disco.py
Reordering of switchboard timeouts.
[pymsnt] / src / disco.py
index f9aac5b7e89208cf76f9d02d37a50b744fa37a13..1c49386d1684e650840714027d9c285125616c44 100644 (file)
@@ -70,7 +70,7 @@ class ServerDiscovery:
                Returns a deferred which will fire with the matching IQ response as it's sole argument. """
                def checkDeferred():
                        if(not d.called):
-                               d.errback("Timeout")
+                               d.errback(Exception("Timeout"))
                                del self.deferredIqs[(jid, ID)]
 
                jid = el.getAttribute("to")