/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: Jelmer Vernooij
  • Date: 2018-01-24 07:51:44 UTC
  • mfrom: (7251 work)
  • mto: This revision was merged to the branch mainline in revision 7252.
  • Revision ID: jelmer@jelmer.uk-20180124075144-byhp1hgdjt2jurfo
Merge trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
267
267
                webbrowser.open(lp_api.canonical_url(mp))
268
268
 
269
269
    def _find_proposals(self, revision_id, pb):
270
 
        from . import (lp_api, lp_registration)
 
270
        from . import lp_api
271
271
        # "devel" because branches.getMergeProposals is not part of 1.0 API.
272
 
        launchpad = lp_api.login(lp_registration.LaunchpadService(),
273
 
                                 version='devel')
 
272
        launchpad = lp_api.connect_launchpad(version='devel')
274
273
        pb.update(gettext('Finding proposals'))
275
274
        return list(launchpad.branches.getMergeProposals(
276
275
                    merged_revision=revision_id))