diff src/memory/disco.py @ 1675:fd143578fe89

plugin XEP-0065: fixed bad error handling
author Goffi <goffi@goffi.org>
date Wed, 25 Nov 2015 13:03:10 +0100
parents e0bde0d0b321
children 373ce871b0f3
line wrap: on
line diff
--- a/src/memory/disco.py	Wed Nov 25 12:13:03 2015 +0100
+++ b/src/memory/disco.py	Wed Nov 25 13:03:10 2015 +0100
@@ -172,7 +172,7 @@
         @param jid_: the jid of the target server (None for profile's server)
         @param profile: %(doc_profile)s
         @return: a set of found entities
-        @raise CancelError: the request timed out
+        @raise defer.CancelledError: the request timed out
         """
         found_entities = set()