diff options
| author | Barry Warsaw | 2016-03-25 10:13:48 -0400 |
|---|---|---|
| committer | Barry Warsaw | 2016-03-25 10:13:48 -0400 |
| commit | a681354cadf48394127796eb111c2904283c9288 (patch) | |
| tree | 87377966491672f981d6567d78debd384004d11b /src/mailman/interfaces/messages.py | |
| parent | b9c06627e46ff1e9f09965228ab3b48f217109af (diff) | |
| download | mailman-a681354cadf48394127796eb111c2904283c9288.tar.gz mailman-a681354cadf48394127796eb111c2904283c9288.tar.zst mailman-a681354cadf48394127796eb111c2904283c9288.zip | |
Diffstat (limited to 'src/mailman/interfaces/messages.py')
| -rw-r--r-- | src/mailman/interfaces/messages.py | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/src/mailman/interfaces/messages.py b/src/mailman/interfaces/messages.py index ed8dad4c7..cd05722c9 100644 --- a/src/mailman/interfaces/messages.py +++ b/src/mailman/interfaces/messages.py @@ -17,16 +17,11 @@ """The message storage service.""" -__all__ = [ - 'IMessage', - 'IMessageStore', - ] - - +from mailman import public from zope.interface import Interface, Attribute - +@public class IMessageStore(Interface): """The interface of the global message storage service. @@ -57,7 +52,7 @@ class IMessageStore(Interface): the globally unique URI would be: http://archive.example.com/RXTJ357KFOTJP3NFJA6KMO65X7VQOHJI -""" + """ def add(message): """Add the message to the store. @@ -100,7 +95,7 @@ class IMessageStore(Interface): """An iterator over all messages in this message store.""") - +@public class IMessage(Interface): """The representation of an email message.""" |
