Shutdown connection to server. (typ, [data]) = .logout() Returns server 'BYE' response.
(self)
| 632 | |
| 633 | |
| 634 | def logout(self): |
| 635 | """Shutdown connection to server. |
| 636 | |
| 637 | (typ, [data]) = <instance>.logout() |
| 638 | |
| 639 | Returns server 'BYE' response. |
| 640 | """ |
| 641 | self.state = 'LOGOUT' |
| 642 | typ, dat = self._simple_command('LOGOUT') |
| 643 | self.shutdown() |
| 644 | return typ, dat |
| 645 | |
| 646 | |
| 647 | def lsub(self, directory='""', pattern='*'): |
no test coverage detected