/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-01 21:57:00 UTC
  • mfrom: (7490.39.3 move-launchpad)
  • Revision ID: breezy.the.bot@gmail.com-20200601215700-joxuzo6w172gq74v
Move launchpad hoster support to the launchpad plugin.

Merged from https://code.launchpad.net/~jelmer/brz/move-launchpad/+merge/384931

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))