diff idavoll/idavoll.py @ 92:878a5b7697f2

Consume errors in DeferredLists.
author Ralph Meijer <ralphm@ik.nu>
date Wed, 17 Nov 2004 21:00:03 +0000
parents 47ee5369c410
children cf918d581da5
line wrap: on
line diff
--- a/idavoll/idavoll.py	Wed Nov 17 20:43:45 2004 +0000
+++ b/idavoll/idavoll.py	Wed Nov 17 21:00:03 2004 +0000
@@ -52,7 +52,7 @@
             if components.implements(c, component.IService):
                 if hasattr(c, "get_disco_info"):
                     dl.append(c.get_disco_info(node))
-        d = defer.DeferredList(dl, fireOnOneErrback=1)
+        d = defer.DeferredList(dl, fireOnOneErrback=1, consumeErrors=1)
         d.addCallback(self._disco_info_results, iq, node)
         d.addErrback(self._error, iq)
         d.addCallback(self.send)
@@ -84,7 +84,7 @@
             if components.implements(c, component.IService):
                 if hasattr(c, "get_disco_items"):
                     dl.append(c.get_disco_items(node))
-        d = defer.DeferredList(dl, fireOnOneErrback=1)
+        d = defer.DeferredList(dl, fireOnOneErrback=1, consumeErrors=1)
         d.addCallback(self._disco_items_result, iq, node)
         d.addErrback(self._error, iq)
         d.addCallback(self.send)