~barry/mailman/templatecache

« back to all changes in this revision

Viewing changes to src/mailman/interfaces/action.py

  • Committer: Barry Warsaw
  • Date: 2013-09-01 15:12:51 UTC
  • mfrom: (7184.1.37 3.0)
  • Revision ID: barry@list.org-20130901151251-1jmdsqmvbq1lxxxo
trunk merge

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
    ]
25
25
 
26
26
 
27
 
from flufl.enum import Enum
 
27
from enum import Enum
28
28
 
29
29
 
30
30
 
36
36
    defer   = 4
37
37
 
38
38
 
39
 
class FilterAction(Action):
 
39
class FilterAction(Enum):
 
40
    hold    = 0
 
41
    reject  = 1
 
42
    discard = 2
 
43
    accept  = 3
 
44
    defer   = 4
40
45
    forward = 5
41
46
    preserve = 6