/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/plugins/propose/github.py

  • Committer: Breezy landing bot
  • Author(s): Jelmer Vernooij
  • Date: 2019-10-13 15:54:23 UTC
  • mfrom: (7397.1.2 propose-fixes)
  • Revision ID: breezy.the.bot@gmail.com-20191013155423-ka18kpgkongho53h
Fix forking on GitHub/GitLab.

Merged from https://code.launchpad.net/~jelmer/brz/propose-fork/+merge/373703

Show diffs side-by-side

added added

removed removed

Lines of Context:
317
317
        if owner:
318
318
            path += '?organization=%s' % owner
319
319
        response = self._api_request('POST', path)
320
 
        if response != 202:
 
320
        if response.status != 202:
321
321
            raise InvalidHttpResponse(path, response.text)
322
322
        return json.loads(response.text)
323
323