/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/protocol.py

merge bzr.dev r4029

Show diffs side-by-side

added added

removed removed

Lines of Context:
1247
1247
                self._write_prefixed_body(part)
1248
1248
                self.flush()
1249
1249
        except Exception:
 
1250
            exc_info = sys.exc_info()
1250
1251
            # Iterating the stream failed.  Cleanly abort the request.
1251
1252
            self._write_error_status()
1252
1253
            # Currently the client unconditionally sends ('error',) as the
1253
1254
            # error args.
1254
1255
            self._write_structure(('error',))
 
1256
            self._write_end()
 
1257
            self._medium_request.finished_writing()
 
1258
            raise exc_info[0], exc_info[1], exc_info[2]
1255
1259
        self._write_end()
1256
1260
        self._medium_request.finished_writing()
1257
1261