~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/plugins/launchpad/__init__.py

  • Committer: Jonathan Lange
  • Date: 2009-12-16 07:33:26 UTC
  • mto: This revision was merged to the branch mainline in revision 4907.
  • Revision ID: jml@canonical.com-20091216073326-ymj7jck11890nhmc
Clean up flakes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
143
143
            # Run on service entirely in memory
144
144
            service = DryRunLaunchpadService()
145
145
        service.gather_user_credentials()
146
 
        branch_object_url = rego.submit(service)
 
146
        rego.submit(service)
147
147
        if link_bug:
148
 
            link_bug_url = linko.submit(service)
 
148
            linko.submit(service)
149
149
        print 'Branch registered.'
150
150
 
151
151
register_command(cmd_register_branch)
191
191
            LaunchpadService)
192
192
        if location is None:
193
193
            location = u'.'
194
 
        web_url = self._get_web_url(
195
 
            lp_registration.LaunchpadService(), location)
 
194
        web_url = self._get_web_url(LaunchpadService(), location)
196
195
        trace.note('Opening %s in web browser' % web_url)
197
196
        if not dry_run:
198
197
            import webbrowser   # this import should not be lazy