~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/smart/protocol.py

  • Committer: Andrew Bennetts
  • Date: 2009-09-11 06:07:05 UTC
  • mto: This revision was merged to the branch mainline in revision 4687.
  • Revision ID: andrew.bennetts@canonical.com-20090911060705-n4im56d54nlkwcqb
Remove SmartServerRequest.dispatch_command, fix SmartServerRequest.args_received.

Show diffs side-by-side

added added

removed removed

Lines of Context:
145
145
                self.request = request.SmartServerRequestHandler(
146
146
                    self._backing_transport, commands=request.request_handlers,
147
147
                    root_client_path=self._root_client_path)
148
 
                self.request.dispatch_command(req_args[0], req_args[1:])
 
148
                self.request.args_received(req_args)
149
149
                if self.request.finished_reading:
150
150
                    # trivial request
151
151
                    self.unused_data = self.in_buffer