← Back to team overview

launchpad-reviewers team mailing list archive

[Merge] lp:~stevenk/launchpad/speling-iz-hard into lp:launchpad

 

Steve Kowalik has proposed merging lp:~stevenk/launchpad/speling-iz-hard into lp:launchpad.

Requested reviews:
  Launchpad code reviewers (launchpad-reviewers)

For more details, see:
https://code.launchpad.net/~stevenk/launchpad/speling-iz-hard/+merge/81920

Speling iz hard.
-- 
https://code.launchpad.net/~stevenk/launchpad/speling-iz-hard/+merge/81920
Your team Launchpad code reviewers is requested to review the proposed merge of lp:~stevenk/launchpad/speling-iz-hard into lp:launchpad.
=== modified file 'lib/lp/registry/browser/distroseries.py'
--- lib/lp/registry/browser/distroseries.py	2011-11-09 12:58:38 +0000
+++ lib/lp/registry/browser/distroseries.py	2011-11-10 22:42:25 +0000
@@ -590,10 +590,10 @@
         'status' field. See `createStatusField` method.
         """
         LaunchpadEditFormView.setUpFields(self)
-        self.is_derivitive = (
+        self.is_derivative = (
             not self.context.distribution.full_functionality)
         self.has_admin = check_permission('launchpad.Admin', self.context)
-        if self.has_admin or self.is_derivitive:
+        if self.has_admin or self.is_derivative:
             # The user is an admin or this is an IDerivativeDistribution.
             self.form_fields = (
                 self.form_fields + self.createStatusField())
@@ -601,7 +601,7 @@
     @action("Change")
     def change_action(self, action, data):
         """Update the context and redirects to its overviw page."""
-        if self.has_admin or self.is_derivitive:
+        if self.has_admin or self.is_derivative:
             self.updateDateReleased(data.get('status'))
         self.updateContextFromData(data)
         self.request.response.addInfoNotification(