(self)
| 76 | self.baseclass.last_received_data += new_data |
| 77 | |
| 78 | def handle_close(self): |
| 79 | # XXX: this method can be called many times in a row for a single |
| 80 | # connection, including in clear-text (non-TLS) mode. |
| 81 | # (behaviour witnessed with test_data_connection) |
| 82 | if not self.dtp_conn_closed: |
| 83 | self.baseclass.push('226 transfer complete') |
| 84 | self.shutdown() |
| 85 | self.dtp_conn_closed = True |
| 86 | |
| 87 | def push(self, what): |
| 88 | if self.baseclass.next_data is not None: |
no test coverage detected