~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/transport/ssh.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2010-06-17 14:51:03 UTC
  • mfrom: (5303.1.1 various)
  • Revision ID: pqm@pqm.ubuntu.com-20100617145103-a1758eng4ujn3h4d
Fix typo, sockets use recv not read ;)

Show diffs side-by-side

added added

removed removed

Lines of Context:
701
701
 
702
702
    def recv(self, count):
703
703
        if self._sock is not None:
704
 
            return self._sock.read(count)
 
704
            return self._sock.recv(count)
705
705
        else:
706
706
            return os.read(self.proc.stdout.fileno(), count)
707
707