Re: [Twisted-Python] Problem with Deferreds

2016-04-02 Thread Chris Norman
Hi, Yes, that sorted the problem out no worries. Thank you so much. On 02/04/2016 15:00, Kevin Conway wrote: Hi Chris, tl;dr: Returning a value from 'dataReceived', or any of its extensions such as 'lineReceived' in the 'LineReceiver' Protocol subclass, triggers a disconnect and uses the r

Re: [Twisted-Python] Problem with Deferreds

2016-04-02 Thread Kevin Conway
Hi Chris, tl;dr: Returning a value from 'dataReceived', or any of its extensions such as 'lineReceived' in the 'LineReceiver' Protocol subclass, triggers a disconnect and uses the returned value as the 'reason'. A 'reason' must be an Exception or t.p.Failure object as other values will trigger thi