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

  • Committer: Breezy landing bot
  • Author(s): Jelmer Vernooij
  • Date: 2020-06-11 12:46:45 UTC
  • mfrom: (7511.1.1 actions-no-fork)
  • Revision ID: breezy.the.bot@gmail.com-20200611124645-4lx66gps99i0hmzh
Avoid using fork when running the testsuite in github actions.

Merged from https://code.launchpad.net/~jelmer/brz/actions-no-fork/+merge/385565

Show diffs side-by-side

added added

removed removed

Lines of Context:
394
394
                    url, 'Missing the Content-Range header in a 206 range response')
395
395
            rfile.set_range_from_header(content_range)
396
396
    else:
397
 
        raise errors.UnexpectedHttpStatus(url, code)
 
397
        raise errors.InvalidHttpResponse(url,
 
398
                                         'Unknown response code %s' % code)
398
399
 
399
400
    return rfile