Read line from remote.
(self)
| 319 | |
| 320 | |
| 321 | def readline(self): |
| 322 | """Read line from remote.""" |
| 323 | line = self.file.readline(_MAXLINE + 1) |
| 324 | if len(line) > _MAXLINE: |
| 325 | raise self.error("got more than %d bytes" % _MAXLINE) |
| 326 | return line |
| 327 | |
| 328 | |
| 329 | def send(self, data): |