summaryrefslogtreecommitdiff
path: root/src/mailman/model/roster.py
diff options
context:
space:
mode:
authorBarry Warsaw2010-12-29 23:54:08 -0500
committerBarry Warsaw2010-12-29 23:54:08 -0500
commit534e90fea33c52585c74fa9127cca8b70178d5e0 (patch)
tree3a5d4088b5af1a4b310dffba711389ac67792dd2 /src/mailman/model/roster.py
parenta31184862fc52a3c38059f832d533b137135c1f9 (diff)
downloadmailman-534e90fea33c52585c74fa9127cca8b70178d5e0.tar.gz
mailman-534e90fea33c52585c74fa9127cca8b70178d5e0.tar.zst
mailman-534e90fea33c52585c74fa9127cca8b70178d5e0.zip
Diffstat (limited to 'src/mailman/model/roster.py')
-rw-r--r--src/mailman/model/roster.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mailman/model/roster.py b/src/mailman/model/roster.py
index bffafd809..89ef98531 100644
--- a/src/mailman/model/roster.py
+++ b/src/mailman/model/roster.py
@@ -120,6 +120,14 @@ class MemberRoster(AbstractRoster):
+class NonmemberRoster(AbstractRoster):
+ """Return all the nonmembers of a list."""
+
+ name = 'nonmember'
+ role = MemberRole.nonmember
+
+
+
class OwnerRoster(AbstractRoster):
"""Return all the owners of a list."""