/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: Martin
  • Date: 2018-11-16 19:09:31 UTC
  • mfrom: (7175 work)
  • mto: This revision was merged to the branch mainline in revision 7177.
  • Revision ID: gzlist@googlemail.com-20181116190931-rmh7pk2an1zuecby
Merge trunk to resolve conflicts

Show diffs side-by-side

added added

removed removed

Lines of Context:
85
85
        trace.note(gettext('Opening %s in web browser') % web_url)
86
86
        if not dry_run:
87
87
            import webbrowser   # this import should not be lazy
88
 
                                # otherwise brz.exe lacks this module
 
88
            # otherwise brz.exe lacks this module
89
89
            webbrowser.open(web_url)
90
90
 
91
91
 
140
140
            account.set_lp_login(name)
141
141
            if verbose:
142
142
                self.outf.write(gettext("Launchpad user ID set to '%s'.\n") %
143
 
                                                                        (name,))
 
143
                                (name,))
144
144
 
145
145
 
146
146
class cmd_launchpad_logout(Command):
181
181
        service = LaunchpadService()
182
182
        launchpad = lp_api.login(service)
183
183
        lp_branch = lp_api.LaunchpadBranch.from_bzr(launchpad, branch,
184
 
                create_missing=False)
 
184
                                                    create_missing=False)
185
185
        lp_branch.lp.requestMirror()
186
186
 
187
187
 
215
215
                                  'setting the approved revision to tip.')),
216
216
                     Option('fixes', 'The bug this proposal fixes.', str),
217
217
                     ListOption('review', short_name='R', type=text_type,
218
 
                            help='Requested reviewer and optional type.')]
 
218
                                help='Requested reviewer and optional type.')]
219
219
 
220
220
    takes_args = ['submit_branch?']
221
221