summaryrefslogtreecommitdiff
path: root/src/mailman/interfaces/styles.py
diff options
context:
space:
mode:
authorBarry Warsaw2016-03-25 10:13:48 -0400
committerBarry Warsaw2016-03-25 10:13:48 -0400
commita681354cadf48394127796eb111c2904283c9288 (patch)
tree87377966491672f981d6567d78debd384004d11b /src/mailman/interfaces/styles.py
parentb9c06627e46ff1e9f09965228ab3b48f217109af (diff)
downloadmailman-a681354cadf48394127796eb111c2904283c9288.tar.gz
mailman-a681354cadf48394127796eb111c2904283c9288.tar.zst
mailman-a681354cadf48394127796eb111c2904283c9288.zip
Diffstat (limited to 'src/mailman/interfaces/styles.py')
-rw-r--r--src/mailman/interfaces/styles.py15
1 files changed, 5 insertions, 10 deletions
diff --git a/src/mailman/interfaces/styles.py b/src/mailman/interfaces/styles.py
index b5be5d977..5629af5d4 100644
--- a/src/mailman/interfaces/styles.py
+++ b/src/mailman/interfaces/styles.py
@@ -17,23 +17,17 @@
"""Interfaces for list styles."""
-__all__ = [
- 'DuplicateStyleError',
- 'IStyle',
- 'IStyleManager',
- ]
-
-
+from mailman import public
from mailman.interfaces.errors import MailmanError
from zope.interface import Interface, Attribute
-
+@public
class DuplicateStyleError(MailmanError):
"""A style with the same name is already registered."""
-
+@public
class IStyle(Interface):
"""Application of a style to an existing mailing list."""
@@ -47,7 +41,8 @@ class IStyle(Interface):
:param mailing_list: the mailing list to apply the style to.
"""
-
+
+@public
class IStyleManager(Interface):
"""A manager of styles."""