diff options
| author | Amit Tripathi | 2016-09-25 22:37:44 +0530 |
|---|---|---|
| committer | Barry Warsaw | 2016-10-25 20:39:12 -0400 |
| commit | 1eec4bf88bb9bb1e6d393b5e80a58a929e6439b4 (patch) | |
| tree | bdcf5586abe2ca2cc9925c4809aa68cbe37f5769 /src/mailman/interfaces | |
| parent | 66eaf22e4af9877a83c32ca96fa4756827a62b80 (diff) | |
| download | mailman-1eec4bf88bb9bb1e6d393b5e80a58a929e6439b4.tar.gz mailman-1eec4bf88bb9bb1e6d393b5e80a58a929e6439b4.tar.zst mailman-1eec4bf88bb9bb1e6d393b5e80a58a929e6439b4.zip | |
Diffstat (limited to 'src/mailman/interfaces')
| -rw-r--r-- | src/mailman/interfaces/bans.py | 7 |
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. |
