def stopConsuming(self): if debug: print 'TwistedProtocolWrapper.stopConsuming' ProtocolWrapper.stopConsuming(self)