Merge ~cjwatson/launchpad:oci-recipe-feature-disabled-grammar into launchpad:master

Proposed by Colin Watson
Status: Merged
Approved by: Colin Watson
Approved revision: 1dff580fdae43ff6b5f0a7bbd2774cb79f00ed9d
Merge reported by: Otto Co-Pilot
Merged at revision: not available
Proposed branch: ~cjwatson/launchpad:oci-recipe-feature-disabled-grammar
Merge into: launchpad:master
Diff against target: 18 lines (+2/-2)
1 file modified
lib/lp/oci/interfaces/ocirecipe.py (+2/-2)
Reviewer Review Type Date Requested Status
Tom Wardill (community) Approve
Review via email: mp+382117@code.launchpad.net

Commit message

Fix grammar of OCIRecipeFeatureDisabled message

To post a comment you must log in.
Revision history for this message
Tom Wardill (twom) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/lib/lp/oci/interfaces/ocirecipe.py b/lib/lp/oci/interfaces/ocirecipe.py
2index ed3f9b2..25a8967 100644
3--- a/lib/lp/oci/interfaces/ocirecipe.py
4+++ b/lib/lp/oci/interfaces/ocirecipe.py
5@@ -78,11 +78,11 @@ OCI_RECIPE_ALLOW_CREATE = 'oci.recipe.create.enabled'
6
7 @error_status(http_client.UNAUTHORIZED)
8 class OCIRecipeFeatureDisabled(Unauthorized):
9- """Only certain users can create new LiveFS-related objects."""
10+ """Only certain users can create new OCI recipes."""
11
12 def __init__(self):
13 super(OCIRecipeFeatureDisabled, self).__init__(
14- "You do not have permission to create new OCI recipe.")
15+ "You do not have permission to create new OCI recipes.")
16
17
18 @error_status(http_client.UNAUTHORIZED)

Subscribers

People subscribed via source and target branches

to status/vote changes: