summaryrefslogtreecommitdiff
path: root/src/mailman/model/user.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/mailman/model/user.py')
-rw-r--r--src/mailman/model/user.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mailman/model/user.py b/src/mailman/model/user.py
index 15ed9170f..a723df44e 100644
--- a/src/mailman/model/user.py
+++ b/src/mailman/model/user.py
@@ -28,7 +28,7 @@ from storm.locals import (
DateTime, Int, RawStr, Reference, ReferenceSet, Unicode)
from storm.properties import UUID
from zope.event import notify
-from zope.interface import implements
+from zope.interface import implementer
from mailman.database.model import Model
from mailman.database.transaction import dbconnection
@@ -47,11 +47,10 @@ uid_factory = UniqueIDFactory(context='users')
+@implementer(IUser)
class User(Model):
"""Mailman users."""
- implements(IUser)
-
id = Int(primary=True)
display_name = Unicode()
_password = RawStr(name='password')