Merge lp:~cjohnston/launchpad/572017 into lp:launchpad

Proposed by Chris Johnston
Status: Merged
Approved by: William Grant
Approved revision: no longer in the source branch.
Merged at revision: 16976
Proposed branch: lp:~cjohnston/launchpad/572017
Merge into: lp:launchpad
Diff against target: 25 lines (+2/-2)
2 files modified
lib/lp/code/browser/branch.py (+1/-1)
lib/lp/code/browser/sourcepackagerecipe.py (+1/-1)
To merge this branch: bzr merge lp:~cjohnston/launchpad/572017
Reviewer Review Type Date Requested Status
William Grant code Approve
Review via email: mp+213941@code.launchpad.net

Commit message

Correct branch creation form labels to not mention reassigning a branch that doesn't exist yet.

Description of the change

You can't reassign a branch that was never assigned.

To post a comment you must log in.
Revision history for this message
William Grant (wgrant) :
review: Approve (code)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'lib/lp/code/browser/branch.py'
2--- lib/lp/code/browser/branch.py 2014-02-24 07:19:52 +0000
3+++ lib/lp/code/browser/branch.py 2014-04-02 23:15:21 +0000
4@@ -1133,7 +1133,7 @@
5 owner_field = self.schema['owner']
6 any_owner_choice = Choice(
7 __name__='owner', title=owner_field.title,
8- description=_("As an administrator you are able to reassign"
9+ description=_("As an administrator you are able to assign"
10 " this branch to any person or team."),
11 required=True, vocabulary='ValidPersonOrTeam')
12 any_owner_field = form.Fields(
13
14=== modified file 'lib/lp/code/browser/sourcepackagerecipe.py'
15--- lib/lp/code/browser/sourcepackagerecipe.py 2013-08-22 01:26:23 +0000
16+++ lib/lp/code/browser/sourcepackagerecipe.py 2014-04-02 23:15:21 +0000
17@@ -884,7 +884,7 @@
18 owner_field = self.schema['owner']
19 any_owner_choice = PersonChoice(
20 __name__='owner', title=owner_field.title,
21- description=(u"As an administrator you are able to reassign"
22+ description=(u"As an administrator you are able to assign"
23 u" this branch to any person or team."),
24 required=True, vocabulary='ValidPersonOrTeam')
25 any_owner_field = form.Fields(