Code review comment for lp:~bac/launchpad/bug-588773

Revision history for this message
Brad Crittenden (bac) wrote :

Here is the incremental to fix the lint issue:

=== modified file 'lib/canonical/launchpad/security.py'
--- lib/canonical/launchpad/security.py 2010-06-07 15:52:21 +0000
+++ lib/canonical/launchpad/security.py 2010-06-07 16:29:17 +0000
@@ -781,7 +781,7 @@
     usedfor = IDistribution

-class EditDistroByOwnersRegistryExpertOrAdmins(
+class EditDistributionByOwnersRegistryExpertsOrAdmins(
     EditByOwnersRegistryExpertsOrAdmins):
     """The owner of a distribution should be able to edit its
     information; it is mainly administrative data, such as bug
@@ -1167,7 +1167,7 @@
             return True
         else:
             return (user.in_rosetta_experts or
- EditDistributionByDistroOwnersOrAdmins(
+ EditByOwnersOrAdmins(
                         self.obj).checkAuthenticated(user))

« Back to merge proposal