~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/registry/model/projectgroup.py

  • Committer: Jelmer Vernooij
  • Date: 2011-09-01 10:58:21 UTC
  • mfrom: (13843 devel)
  • mto: This revision was merged to the branch mainline in revision 13845.
  • Revision ID: jelmer@canonical.com-20110901105821-ny0sc6lh77ps0ljm
Merge devel.

Show diffs side-by-side

added added

removed removed

Lines of Context:
76
76
    HasBugHeatMixin,
77
77
    OfficialBugTag,
78
78
    )
79
 
from lp.bugs.model.bugtask import BugTask
80
79
from lp.bugs.model.structuralsubscription import (
81
80
    StructuralSubscriptionTargetMixin,
82
81
    )
171
170
    max_bug_heat = Int()
172
171
 
173
172
    @property
 
173
    def pillar_category(self):
 
174
        """See `IPillar`."""
 
175
        return "Project Group"
 
176
 
 
177
    @property
174
178
    def products(self):
175
179
        return Product.selectBy(
176
180
            project=self, active=True, orderBy='displayname')