~launchpad-pqm/launchpad/devel

« back to all changes in this revision

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

Merge db-devel.

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
__all__ = [
8
8
    'BugNotificationLevel',
9
9
    'BugNotificationStatus',
10
 
    'HIDDEN_BUG_NOTIFICATION_LEVELS',
11
10
    ]
12
11
 
13
12
from lazr.enum import (
22
21
    The type and volume of bug notification email sent to subscribers.
23
22
    """
24
23
 
25
 
    NOTHING = DBItem(10, """
26
 
        Nothing
27
 
 
28
 
        Don't send any notifications about bugs.
29
 
        """)
30
 
 
31
24
    LIFECYCLE = DBItem(20, """
32
25
        Lifecycle
33
26
 
51
44
        """)
52
45
 
53
46
 
54
 
# The set of bug notification levels that won't be displayed in the UI.
55
 
HIDDEN_BUG_NOTIFICATION_LEVELS = [BugNotificationLevel.NOTHING]
56
 
 
57
 
 
58
47
class BugNotificationStatus(DBEnumeratedType):
59
48
    """The status of a bug notification.
60
49