~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/bugs/enum.py

  • Committer: Brad Crittenden
  • Date: 2011-09-12 20:11:43 UTC
  • mto: This revision was merged to the branch mainline in revision 13931.
  • Revision ID: bac@canonical.com-20110912201143-h4zm38dbx3iozowv
RemoveĀ unneededĀ enum

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
 
6
6
__metaclass__ = type
7
7
__all__ = [
8
 
    'BugAutoConfirmReason',
9
8
    'BugNotificationLevel',
10
9
    'BugNotificationStatus',
11
10
    ]
13
12
from lazr.enum import (
14
13
    DBEnumeratedType,
15
14
    DBItem,
16
 
    EnumeratedType,
17
 
    Item,
18
15
    )
19
16
 
20
17
 
78
75
        The notification is deferred.  The recipient list was not calculated
79
76
        at creation time but is done when processed.
80
77
        """)
81
 
 
82
 
 
83
 
class BugAutoConfirmReason(EnumeratedType):
84
 
    """The reason why a bug was auto-confirmed."""
85
 
 
86
 
    AFFECTS_MULTIPLE_USERS = Item("""
87
 
    affects multiple users
88
 
 
89
 
    affects multiple users
90
 
    """)
91
 
 
92
 
    HAS_DUPLICATE = Item("""
93
 
    has duplicate
94
 
 
95
 
    has a duplicate bug
96
 
    """)