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/requests.py | |
| parent | b9c06627e46ff1e9f09965228ab3b48f217109af (diff) | |
| download | mailman-a681354cadf48394127796eb111c2904283c9288.tar.gz mailman-a681354cadf48394127796eb111c2904283c9288.tar.zst mailman-a681354cadf48394127796eb111c2904283c9288.zip | |
Diffstat (limited to 'src/mailman/interfaces/requests.py')
| -rw-r--r-- | src/mailman/interfaces/requests.py | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/src/mailman/interfaces/requests.py b/src/mailman/interfaces/requests.py index 28c4b5e84..be164183e 100644 --- a/src/mailman/interfaces/requests.py +++ b/src/mailman/interfaces/requests.py @@ -21,24 +21,19 @@ The request database handles events that must be approved by the list moderators, such as subscription requests and held messages. """ -__all__ = [ - 'IListRequests', - 'RequestType', - ] - - from enum import Enum +from mailman import public from zope.interface import Interface, Attribute - +@public class RequestType(Enum): held_message = 1 subscription = 2 unsubscription = 3 - +@public class IListRequests(Interface): """Held requests for a specific mailing list.""" |
