~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/transport/http/__init__.py

  • Committer: Martin Pool
  • Date: 2007-06-27 04:33:04 UTC
  • mto: This revision was merged to the branch mainline in revision 2556.
  • Revision ID: mbp@sourcefrog.net-20070627043304-wn1incchxkxa0h2l
Remove use of 'assert False' to raise an exception unconditionally

Show diffs side-by-side

added added

removed removed

Lines of Context:
98
98
                raise errors.InvalidHttpResponse(url,
99
99
                    'Opening header line did not start with HTTP: %s'
100
100
                    % (first_line,))
101
 
                assert False, 'Opening header line was not HTTP'
102
101
            else:
103
102
                break # We are done parsing
104
103
        first_header = False