/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/launchpad/cmds.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:
25
25
    Command,
26
26
    )
27
27
from ...errors import (
28
 
    CommandError,
 
28
    BzrCommandError,
29
29
    NotBranchError,
30
30
    )
31
31
from ...i18n import gettext
192
192
                revision_id = revision[0].as_revision_id(b)
193
193
            merged = self._find_proposals(revision_id, pb)
194
194
            if len(merged) == 0:
195
 
                raise CommandError(gettext('No review found.'))
 
195
                raise BzrCommandError(gettext('No review found.'))
196
196
            trace.note(gettext('%d proposals(s) found.') % len(merged))
197
197
            for mp in merged:
198
198
                webbrowser.open(lp_api.canonical_url(mp))