[Twisted-Python] Re: Making DeferredList look like Deferred
Thomas HERVE
therve at free.fr
Mon Feb 6 03:26:57 EST 2006
Quoting Lenny G Arbage <alengarbage at yahoo.com>:
> I think I must be missing something, but I can't
> spot it. Here's the smallest example I've come up
> with:
[snip]
> def iterfail(err, i):
> print " %i failed" % i
The problem is here. You add an errback to your defer, but you stop the error
propagation by not returning err. Either do 'return err' or not
'addErrback(iterfail)'.
--
Thomas
More information about the Twisted-Python
mailing list