diff options
| author | Abhilash Raj | 2014-09-13 22:48:48 +0530 |
|---|---|---|
| committer | Abhilash Raj | 2014-09-13 22:48:48 +0530 |
| commit | f8212e1d9d32f29039b620d8805f1a53f579dd34 (patch) | |
| tree | e76202f651694fa333d9acf2d8531094851c81c0 /src/mailman/model/bans.py | |
| parent | a9b38e7643ac7dd8d526af22a6e3e9ea73933f59 (diff) | |
| download | mailman-f8212e1d9d32f29039b620d8805f1a53f579dd34.tar.gz mailman-f8212e1d9d32f29039b620d8805f1a53f579dd34.tar.zst mailman-f8212e1d9d32f29039b620d8805f1a53f579dd34.zip | |
Diffstat (limited to 'src/mailman/model/bans.py')
| -rw-r--r-- | src/mailman/model/bans.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mailman/model/bans.py b/src/mailman/model/bans.py index bf02f3127..d0f3b2519 100644 --- a/src/mailman/model/bans.py +++ b/src/mailman/model/bans.py @@ -103,7 +103,7 @@ class BanManager: if bans.count() > 0: return True # Now try specific mailing list bans, but with a pattern. - bans = store.query(Ban).filteR_by(list_id=list_id) + bans = store.query(Ban).filter_by(list_id=list_id) for ban in bans: if (ban.email.startswith('^') and re.match(ban.email, email, re.IGNORECASE) is not None): |
