(self, line)
| 1400 | self._mesg('untagged responses dump:' + '\n\t\t'.join(items)) |
| 1401 | |
| 1402 | def _log(self, line): |
| 1403 | # Keep log of last '_cmd_log_len' interactions for debugging. |
| 1404 | self._cmd_log[self._cmd_log_idx] = (line, time.time()) |
| 1405 | self._cmd_log_idx += 1 |
| 1406 | if self._cmd_log_idx >= self._cmd_log_len: |
| 1407 | self._cmd_log_idx = 0 |
| 1408 | |
| 1409 | def print_log(self): |
| 1410 | self._mesg('last %d IMAP4 interactions:' % len(self._cmd_log)) |