/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/transport/http/__init__.py

  • Committer: Robert Collins
  • Date: 2008-08-14 06:46:29 UTC
  • mfrom: (3628 +trunk)
  • mto: This revision was merged to the branch mainline in revision 3629.
  • Revision ID: robertc@robertcollins.net-20080814064629-wuzmbxzw7tn27usi
Resolve conflicts in NEWS.

Show diffs side-by-side

added added

removed removed

Lines of Context:
555
555
        """See SmartClientMediumRequest._read_bytes."""
556
556
        return self._response_body.read(count)
557
557
 
 
558
    def _read_line(self):
 
559
        line, excess = medium._get_line(self._response_body.read)
 
560
        if excess != '':
 
561
            raise AssertionError(
 
562
                '_get_line returned excess bytes, but this mediumrequest '
 
563
                'cannot handle excess. (%r)' % (excess,))
 
564
        return line
 
565
 
558
566
    def _finished_reading(self):
559
567
        """See SmartClientMediumRequest._finished_reading."""
560
568
        pass