/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/smart/client.py

  • Committer: Andrew Bennetts
  • Date: 2008-01-14 22:45:15 UTC
  • mfrom: (3179 +trunk)
  • mto: This revision was merged to the branch mainline in revision 3180.
  • Revision ID: andrew.bennetts@canonical.com-20080114224515-izp51fxci3hhopap
Merge from bzr.dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
47
47
            body = smart_protocol.read_body_bytes()
48
48
        """
49
49
        request = self.get_smart_medium().get_request()
50
 
        smart_protocol = protocol.SmartClientRequestProtocolOne(request)
 
50
        smart_protocol = protocol.SmartClientRequestProtocolTwo(request)
51
51
        smart_protocol.call(method, *args)
52
52
        return smart_protocol.read_response_tuple(expect_body=True), smart_protocol
53
53