~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/smart/medium.py

  • Committer: John Arbash Meinel
  • Date: 2013-05-19 14:29:37 UTC
  • mfrom: (6437.63.9 2.5)
  • mto: (6437.63.10 2.5)
  • mto: This revision was merged to the branch mainline in revision 6575.
  • Revision ID: john@arbash-meinel.com-20130519142937-21ykz2n2y2f22za9
Merge in the actual 2.5 branch. It seems I failed before

Show diffs side-by-side

added added

removed removed

Lines of Context:
910
910
        except IOError, e:
911
911
            if e.errno in (errno.EINVAL, errno.EPIPE):
912
912
                raise errors.ConnectionReset(
913
 
                    "Error trying to write to subprocess:\n%s" % (e,))
 
913
                    "Error trying to write to subprocess", e)
914
914
            raise
915
915
        self._report_activity(len(bytes), 'write')
916
916
 
1043
1043
 
1044
1044
class SmartClientSocketMedium(SmartClientStreamMedium):
1045
1045
    """A client medium using a socket.
1046
 
    
 
1046
 
1047
1047
    This class isn't usable directly.  Use one of its subclasses instead.
1048
1048
    """
1049
1049