def lineReceived(self, line): dhnio.Dprint(19, 'transport_email.lineReceived') if log_state: print '>>>:', line ## print len(line) if len(line) <= self.linesize: ## while line != '': ## buf = line[:self.linesize] ## POP3Client.lineReceived(self, buf+'\r\n') ## line = line[self.linesize:] ## else: POP3Client.lineReceived(self, line)
def sendLine(self, line): dhnio.Dprint(19, 'transport_email.sendLine') if log_state: print '<<<:', line if len(line) <= self.linesize: POP3Client.sendLine(self, line)