~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/smart/client.py

  • Committer: Martin Pool
  • Date: 2010-01-15 06:55:33 UTC
  • mto: This revision was merged to the branch mainline in revision 4974.
  • Revision ID: mbp@sourcefrog.net-20100115065533-0goq0a2ap9v1356r
Add SmartClient repr

Show diffs side-by-side

added added

removed removed

Lines of Context:
36
36
        else:
37
37
            self._headers = dict(headers)
38
38
 
 
39
    def __repr__(self):
 
40
        return '%s(%r)' % (self.__class__.__name__, self._medium)
 
41
 
39
42
    def _send_request(self, protocol_version, method, args, body=None,
40
43
                      readv_body=None, body_stream=None):
41
44
        encoder, response_handler = self._construct_protocol(