~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2009-12-07 20:29:45 UTC
  • mfrom: (4867.2.2 lp-open-containing)
  • Revision ID: pqm@pqm.ubuntu.com-20091207202945-iwelfw14uf2mpn44
(nmb) Use open-containing for 'bzr lp-open'

Show diffs side-by-side

added added

removed removed

Lines of Context:
170
170
        """Yield possible external locations for the branch at 'location'."""
171
171
        yield location
172
172
        try:
173
 
            branch = _mod_branch.Branch.open(location)
 
173
            branch = _mod_branch.Branch.open_containing(location)[0]
174
174
        except NotBranchError:
175
175
            return
176
176
        branch_url = branch.get_public_branch()