Internal: send a command and get the response plus following text. Same as _longcmd() and _getlongresp(), except that the returned `lines` are unicode strings rather than bytes objects.
(self, line, file=None)
| 549 | return self._getlongresp(file) |
| 550 | |
| 551 | def _longcmdstring(self, line, file=None): |
| 552 | """Internal: send a command and get the response plus following text. |
| 553 | Same as _longcmd() and _getlongresp(), except that the returned `lines` |
| 554 | are unicode strings rather than bytes objects. |
| 555 | """ |
| 556 | self._putcmd(line) |
| 557 | resp, list = self._getlongresp(file) |
| 558 | return resp, [line.decode(self.encoding, self.errors) |
| 559 | for line in list] |
| 560 | |
| 561 | def _getoverviewfmt(self): |
| 562 | """Internal: get the overview format. Queries the server if not |
no test coverage detected