summaryrefslogtreecommitdiff
path: root/src/mailman/chains/base.py
diff options
context:
space:
mode:
authorBarry Warsaw2017-06-17 03:33:38 +0000
committerBarry Warsaw2017-06-17 03:33:38 +0000
commit88f40ac0add14cc9e7c106c5e2e9ec3d6f73df6e (patch)
tree9bc9cef4a696639654185709c1143924b1d41f43 /src/mailman/chains/base.py
parent4fdad6f9c8a9487a6f2c8462be734cd97aaf4d94 (diff)
downloadmailman-88f40ac0add14cc9e7c106c5e2e9ec3d6f73df6e.tar.gz
mailman-88f40ac0add14cc9e7c106c5e2e9ec3d6f73df6e.tar.zst
mailman-88f40ac0add14cc9e7c106c5e2e9ec3d6f73df6e.zip
Diffstat (limited to 'src/mailman/chains/base.py')
-rw-r--r--src/mailman/chains/base.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mailman/chains/base.py b/src/mailman/chains/base.py
index fdf9477da..59125ba69 100644
--- a/src/mailman/chains/base.py
+++ b/src/mailman/chains/base.py
@@ -21,6 +21,7 @@ from mailman.config import config
from mailman.interfaces.chain import (
IChain, IChainIterator, IChainLink, IMutableChain, LinkAction)
from mailman.interfaces.rules import IRule
+from mailman.utilities.modules import abstract_component
from public import public
from zope.interface import implementer
@@ -55,6 +56,7 @@ class Link:
@public
+@abstract_component
@implementer(IChain, IChainIterator)
class TerminalChainBase:
"""A base chain that always matches and executes a method.
@@ -85,6 +87,7 @@ class TerminalChainBase:
@public
+@abstract_component
@implementer(IMutableChain)
class Chain:
"""Generic chain base class."""