Make blacklist an AddrCache

This commit is contained in:
Stuart Gathman
2007-01-05 23:33:55 +00:00
parent 8932dc36db
commit 139e141e1e
4 changed files with 15 additions and 5 deletions
+5
View File
@@ -10,6 +10,9 @@
# CBV results.
#
# $Log$
# Revision 1.1 2007/01/05 21:25:40 customdesigned
# Move AddrCache to Milter package.
#
# Author: Stuart D. Gathman <stuart@bmsi.com>
# Copyright 2001,2002,2003,2004,2005 Business Management Systems, Inc.
@@ -68,6 +71,8 @@ class AddrCache(object):
pass
return False
__contains__ = has_key
def __getitem__(self,sender):
try:
lsender = sender.lower()