~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/bugs/interfaces/bugtarget.py

  • Committer: Launchpad Patch Queue Manager
  • Date: 2011-08-02 05:35:39 UTC
  • mfrom: (13543.8.3 iseriesbugtarget)
  • Revision ID: launchpad@pqm.canonical.com-20110802053539-mtuhwpy3robzo470
[r=lifeless][bug=817336] Add ISeriesBugTarget,
 allowing easy detection of bug tasks on series targets.

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
    'IOfficialBugTagTarget',
19
19
    'IOfficialBugTagTargetPublic',
20
20
    'IOfficialBugTagTargetRestricted',
 
21
    'ISeriesBugTarget',
21
22
    ]
22
23
 
23
24
 
455
456
        schema=IOfficialBugTagTarget,
456
457
        description=
457
458
            u'The distribution or product having this official bug tag.')
 
459
 
 
460
 
 
461
class ISeriesBugTarget(Interface):
 
462
    """An `IBugTarget` which is a series."""
 
463
 
 
464
    bugtarget_parent = Attribute(
 
465
        "Non-series parent of this series bug target.")