Merge lp:~james-w/launchpad/bug-524302 into lp:launchpad/db-devel

Proposed by James Westby
Status: Merged
Approved by: Michael Nelson
Approved revision: no longer in the source branch.
Merged at revision: not available
Proposed branch: lp:~james-w/launchpad/bug-524302
Merge into: lp:launchpad/db-devel
Diff against target: 12 lines (+1/-1)
1 file modified
lib/lp/registry/browser/productseries.py (+1/-1)
To merge this branch: bzr merge lp:~james-w/launchpad/bug-524302
Reviewer Review Type Date Requested Status
Michael Nelson (community) code Approve
Review via email: mp+23006@code.launchpad.net

Commit message

ProductSeries +set-branch page doesn't use ProductSeriesBranchTarget for code imports.

Description of the change

Hi,

This fixes the current buildbot failure in db-devel.

Instead of trying to use the ProductSeriesBranchTarget
as the code import target then it uses ProductBranchTarget.
Tim says that the former shouldn't really exist anyway.

Thanks,

James

To post a comment you must log in.
Revision history for this message
Michael Nelson (michael.nelson) wrote :

Thanks James.

review: Approve (code)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'lib/lp/registry/browser/productseries.py'
--- lib/lp/registry/browser/productseries.py 2010-04-07 13:20:12 +0000
+++ lib/lp/registry/browser/productseries.py 2010-04-08 10:11:29 +0000
@@ -975,7 +975,7 @@
975 rcs_item = RevisionControlSystems.items[rcs_type.name]975 rcs_item = RevisionControlSystems.items[rcs_type.name]
976 code_import = getUtility(ICodeImportSet).new(976 code_import = getUtility(ICodeImportSet).new(
977 registrant=branch_owner,977 registrant=branch_owner,
978 target=self.target,978 target=IBranchTarget(self.context.product),
979 branch_name=branch_name,979 branch_name=branch_name,
980 rcs_type=rcs_item,980 rcs_type=rcs_item,
981 url=url,981 url=url,

Subscribers

People subscribed via source and target branches

to status/vote changes: