~rashi007/mailman/docsfix

« back to all changes in this revision

Viewing changes to src/mailman/model/member.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
"""Model for members."""
19
19
 
20
 
from __future__ import absolute_import, print_function, unicode_literals
21
 
 
22
 
__metaclass__ = type
23
20
__all__ = [
24
21
    'Member',
25
22
    ]
26
23
 
27
 
from sqlalchemy import Column, ForeignKey, Integer, Unicode
28
 
from sqlalchemy.orm import relationship
29
 
from zope.component import getUtility
30
 
from zope.event import notify
31
 
from zope.interface import implementer
32
24
 
33
25
from mailman.core.constants import system_preferences
34
26
from mailman.database.model import Model
42
34
from mailman.interfaces.user import IUser, UnverifiedAddressError
43
35
from mailman.interfaces.usermanager import IUserManager
44
36
from mailman.utilities.uid import UniqueIDFactory
 
37
from sqlalchemy import Column, ForeignKey, Integer, Unicode
 
38
from sqlalchemy.orm import relationship
 
39
from zope.component import getUtility
 
40
from zope.event import notify
 
41
from zope.interface import implementer
45
42
 
46
43
 
47
44
uid_factory = UniqueIDFactory(context='members')