~barry/mailman/lp1423756

« back to all changes in this revision

Viewing changes to src/mailman/model/mime.py

  • Committer: Barry Warsaw
  • Date: 2015-01-05 01:20:33 UTC
  • mfrom: (7264.4.66 py3)
  • Revision ID: barry@list.org-20150105012033-zdrw9c2odhpf22fz
Merge the Python 3 branch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
 
18
18
"""The content filter."""
19
19
 
20
 
from __future__ import absolute_import, print_function, unicode_literals
21
 
 
22
 
__metaclass__ = type
23
20
__all__ = [
24
21
    'ContentFilter'
25
22
    ]
26
23
 
27
24
 
 
25
from mailman.database.model import Model
 
26
from mailman.database.types import Enum
 
27
from mailman.interfaces.mime import IContentFilter, FilterType
28
28
from sqlalchemy import Column, ForeignKey, Integer, Unicode
29
29
from sqlalchemy.orm import relationship
30
30
from zope.interface import implementer
31
31
 
32
 
from mailman.database.model import Model
33
 
from mailman.database.types import Enum
34
 
from mailman.interfaces.mime import IContentFilter, FilterType
35
 
 
36
32
 
37
33
 
38
34
@implementer(IContentFilter)