/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-02-14 03:15:41 UTC
  • mfrom: (7268.4.1 github-disappeared-repo)
  • Revision ID: breezy.the.bot@gmail.com-20190214031541-365nt84j337286tu
Don't attempt to resolve None when repo has gone away.

Merged from https://code.launchpad.net/~jelmer/brz/github-disappeared-repo/+merge/363097

Show diffs side-by-side

added added

removed removed

Lines of Context:
244
244
                continue
245
245
            if pull.head.ref != source_branch_name:
246
246
                continue
 
247
            if pull.head.repo is None:
 
248
                # Repo has gone the way of the dodo
 
249
                continue
247
250
            if (pull.head.repo.owner.login != source_owner or
248
251
                    pull.head.repo.name != source_repo_name):
249
252
                continue