Nathan Harris wrote:

Dec 19 14:08:13 driftwood courierfilter: Uncaught exception in "greylist" doFilter function: exceptions.AttributeError:TtlDb instance has no attribute '__delitem__'
...
Any ideas?

Yeah, I've got to quit trying to simplify things.

The attached patch will fix the TtlDb.py file, and I've uploaded a new tarball to the usual place.

Thanks for testing.

### Eclipse Workspace Patch 1.0
#P courier-pythonfilter
Index: filters/TtlDb.py
===================================================================
RCS file: /home/gordon/src/cvsroot/courier-pythonfilter/filters/TtlDb.py,v
retrieving revision 1.3
diff -u -r1.3 TtlDb.py
--- filters/TtlDb.py	13 Dec 2006 22:49:34 -0000	1.3
+++ filters/TtlDb.py	19 Dec 2006 21:10:54 -0000
@@ -119,3 +119,6 @@
 
     def __setitem__(self, key, value):
         return self.db.__setitem__(key, value)
+
+    def __delitem__(self, key):
+        return self.db.__delitem__(key)
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to