(self)
| 153 | # Raise 'error_proto' if the response doesn't start with '+'. |
| 154 | |
| 155 | def _getresp(self): |
| 156 | resp, o = self._getline() |
| 157 | if self._debugging > 1: print('*resp*', repr(resp)) |
| 158 | if not resp.startswith(b'+'): |
| 159 | raise error_proto(resp) |
| 160 | return resp |
| 161 | |
| 162 | |
| 163 | # Internal: get a response plus following text from the server. |
no test coverage detected