[Twisted-Python] Re: Making DeferredList look like Deferred

Lenny G Arbage alengarbage at yahoo.com
Mon Feb 6 14:51:09 MST 2006


Actually, I suppose that,

        if code == False:
            # assumes failed results have 
            # (False, failure) pairs, and
            # only returns the first of
            # these.
            return res

could better be,

        if code == False:
            raise failure.DefaultException(result)

(so that the errback gets the full list).

Lenny

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 




More information about the Twisted-Python mailing list