Rev 5618: Fix normal branch usage with lp-propose. in file:///home/vila/src/bzr/bugs/704647-lp-propose/

Vincent Ladeuil v.ladeuil+lp at free.fr
Fri Jan 28 11:11:15 UTC 2011


At file:///home/vila/src/bzr/bugs/704647-lp-propose/

------------------------------------------------------------
revno: 5618
revision-id: v.ladeuil+lp at free.fr-20110128111115-c1pw51lamqx98c1f
parent: jelmer at samba.org-20110118214941-6w2ked0ivsrxrywt
committer: Vincent Ladeuil <v.ladeuil+lp at free.fr>
branch nick: 704647-lp-propose
timestamp: Fri 2011-01-28 12:11:15 +0100
message:
  Fix normal branch usage with lp-propose.
-------------- next part --------------
=== modified file 'bzrlib/plugins/launchpad/lp_api.py'
--- a/bzrlib/plugins/launchpad/lp_api.py	2011-01-18 21:49:41 +0000
+++ b/bzrlib/plugins/launchpad/lp_api.py	2011-01-28 11:11:15 +0000
@@ -231,7 +231,7 @@
         """Return the 'LaunchpadBranch' for the target of this one."""
         lp_branch = self.lp
         if lp_branch.project is not None:
-            dev_focus = lp_branch.project.development_focus.branch
+            dev_focus = lp_branch.project.development_focus
             if dev_focus is None:
                 raise errors.BzrError('%s has no development focus.' %
                                   lp_branch.bzr_identity)



More information about the bazaar-commits mailing list