~ubuntu-branches/ubuntu/karmic/bzr/karmic-proposed

« back to all changes in this revision

Viewing changes to bzrlib/smart/medium.py

  • Committer: Bazaar Package Importer
  • Author(s): Jelmer Vernooij
  • Date: 2009-02-14 00:24:06 UTC
  • mfrom: (1.1.48 upstream)
  • Revision ID: james.westby@ubuntu.com-20090214002406-h2zfezq54iylm2w8
Tags: 1.12-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
274
274
    def _read_bytes(self, desired_count):
275
275
        # We ignore the desired_count because on sockets it's more efficient to
276
276
        # read large chunks (of _MAX_READ_SIZE bytes) at a time.
277
 
        return self.socket.recv(_MAX_READ_SIZE)
 
277
        return osutils.until_no_eintr(self.socket.recv, _MAX_READ_SIZE)
278
278
 
279
279
    def terminate_due_to_error(self):
280
280
        # TODO: This should log to a server log file, but no such thing