Make blacklist an AddrCache

This commit is contained in:
Stuart Gathman committed 2007-01-05 23:33:55 +00:00
1 parent 8932dc36db
commit 139e141e1e
4 files changed
+15 -5

No files matched your search

+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 <[email protected]>
# 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()