~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/registry/browser/mentoringoffer.py

  • Committer: Henning Eggers
  • Date: 2010-02-17 11:13:06 UTC
  • mto: This revision was merged to the branch mainline in revision 10333.
  • Revision ID: henning@canonical.com-20100217111306-j19wku4p87ytjmlo
Mechanically renamed IProject* to IProjectGroup*.

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
    IMentoringOffer, IMentoringOfferSet)
24
24
from lp.registry.interfaces.person import IPerson
25
25
from lp.registry.interfaces.product import IProduct
26
 
from lp.registry.interfaces.project import IProject
 
26
from lp.registry.interfaces.project import IProjectGroup
27
27
from canonical.launchpad.webapp import (
28
28
    ApplicationMenu, LaunchpadFormView, LaunchpadView, Link,
29
29
    StandardLaunchpadFacets, action, canonical_url)
163
163
                self.show_team = False
164
164
        elif (IDistribution.providedBy(self.context) or
165
165
              IProduct.providedBy(self.context) or
166
 
              IProject.providedBy(self.context)):
 
166
              IProjectGroup.providedBy(self.context)):
167
167
            self.is_pillar = True
168
168
        elif IMentoringOfferSet.providedBy(self.context):
169
169
            self.is_manager = True