def lineReceived(self, line):
    line = line.strip()
self.buffer.append(line)
if self.d is None:
    return
if 'result_I_want' in self.buffer:
    print('Firing Callback')
self.d.callback(self.buffer)
Sequentially queuing multiple defereds in twisted