~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2011-01-28 11:53:25 UTC
  • mfrom: (5616.1.2 704647-lp-propose)
  • Revision ID: pqm@pqm.ubuntu.com-20110128115325-zlxakm0bfr7guplp
(vila) Fix lp-propose for regular branches. (Vincent Ladeuil)

Show diffs side-by-side

added added

removed removed

Lines of Context:
239
239
        """Return the 'LaunchpadBranch' for the target of this one."""
240
240
        lp_branch = self.lp
241
241
        if lp_branch.project is not None:
242
 
            dev_focus = lp_branch.project.development_focus.branch
 
242
            dev_focus = lp_branch.project.development_focus
243
243
            if dev_focus is None:
244
244
                raise errors.BzrError('%s has no development focus.' %
245
245
                                  lp_branch.bzr_identity)