~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/smart/message.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2008-09-08 06:18:35 UTC
  • mfrom: (3695.1.1 trivial)
  • Revision ID: pqm@pqm.ubuntu.com-20080908061835-nz7hj7o0pms1nf9p
(trivial) Remove some unused imports,
        fix two trivially broken raise statements. (Andrew Bennetts)

Show diffs side-by-side

added added

removed removed

Lines of Context:
120
120
        self.request_handler.accept_body(bytes)
121
121
        self.request_handler.end_of_body()
122
122
        if not self.request_handler.finished_reading:
123
 
            raise SmartProtocolError(
 
123
            raise errors.SmartProtocolError(
124
124
                "Conventional request body was received, but request handler "
125
125
                "has not finished reading.")
126
126
        self.responder.send_response(self.request_handler.response)