summaryrefslogtreecommitdiff
path: root/src/mailman/interfaces
diff options
context:
space:
mode:
authorAmit Tripathi2016-09-25 22:37:44 +0530
committerBarry Warsaw2016-10-25 20:39:12 -0400
commit1eec4bf88bb9bb1e6d393b5e80a58a929e6439b4 (patch)
treebdcf5586abe2ca2cc9925c4809aa68cbe37f5769 /src/mailman/interfaces
parent66eaf22e4af9877a83c32ca96fa4756827a62b80 (diff)
downloadmailman-1eec4bf88bb9bb1e6d393b5e80a58a929e6439b4.tar.gz
mailman-1eec4bf88bb9bb1e6d393b5e80a58a929e6439b4.tar.zst
mailman-1eec4bf88bb9bb1e6d393b5e80a58a929e6439b4.zip
Diffstat (limited to 'src/mailman/interfaces')
-rw-r--r--src/mailman/interfaces/bans.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mailman/interfaces/bans.py b/src/mailman/interfaces/bans.py
index 2e320965a..3401f286e 100644
--- a/src/mailman/interfaces/bans.py
+++ b/src/mailman/interfaces/bans.py
@@ -93,6 +93,13 @@ class IBanManager(Interface):
:rtype: bool
"""
+ def find():
+ """Return the sequence of baned emails
+
+ :return: The list of all banned addresses.
+ :rtype: list of `IBan`
+ """
+
def __iter__():
"""Iterate over all banned addresses.