summaryrefslogtreecommitdiff
path: root/src/mailman/interfaces/digests.py
diff options
context:
space:
mode:
authorBarry Warsaw2009-02-22 21:33:17 -0500
committerBarry Warsaw2009-02-22 21:33:17 -0500
commit2d2d5393acc7db23baf4f3d43a0712bfa795c03e (patch)
treef7a41025dde055777aa1b4dd900fad4fc96c3943 /src/mailman/interfaces/digests.py
parent8644b80168066c8fd11a7e2440ed8566453f0cd4 (diff)
downloadmailman-2d2d5393acc7db23baf4f3d43a0712bfa795c03e.tar.gz
mailman-2d2d5393acc7db23baf4f3d43a0712bfa795c03e.tar.zst
mailman-2d2d5393acc7db23baf4f3d43a0712bfa795c03e.zip
Diffstat (limited to 'src/mailman/interfaces/digests.py')
-rw-r--r--src/mailman/interfaces/digests.py42
1 files changed, 42 insertions, 0 deletions
diff --git a/src/mailman/interfaces/digests.py b/src/mailman/interfaces/digests.py
new file mode 100644
index 000000000..009be8e70
--- /dev/null
+++ b/src/mailman/interfaces/digests.py
@@ -0,0 +1,42 @@
+# Copyright (C) 2009 by the Free Software Foundation, Inc.
+#
+# This file is part of GNU Mailman.
+#
+# GNU Mailman is free software: you can redistribute it and/or modify it under
+# the terms of the GNU General Public License as published by the Free
+# Software Foundation, either version 3 of the License, or (at your option)
+# any later version.
+#
+# GNU Mailman is distributed in the hope that it will be useful, but WITHOUT
+# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+# more details.
+#
+# You should have received a copy of the GNU General Public License along with
+# GNU Mailman. If not, see <http://www.gnu.org/licenses/>.
+
+"""One last digest."""
+
+from __future__ import absolute_import, unicode_literals
+
+__metaclass__ = type
+__all__ = [
+ 'IOneLastDigest'
+ ]
+
+
+from zope.interface import Interface, Attribute
+
+
+
+class IOneLastDigest(Interface):
+ """Users who should receive one last digest."""
+
+ mailing_list = Attribute(
+ """The mailing list for the one last digest.""")
+
+ address = Attribute(
+ """The address to receive the one last digest.""")
+
+ delivery_mode = Attribute(
+ """The digest delivery mode to send.""")