~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/smart/message.py

  • Committer: Vincent Ladeuil
  • Date: 2008-09-11 19:36:38 UTC
  • mfrom: (3703 +trunk)
  • mto: (3705.1.1 trunk2)
  • mto: This revision was merged to the branch mainline in revision 3708.
  • Revision ID: v.ladeuil+lp@free.fr-20080911193638-wtjyc1kcmacc6t1f
merge bzr.dev

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)