From 9f40f265cd2dfdf058b8ea73586f710e6b368548 Mon Sep 17 00:00:00 2001 From: Stuart Gathman <stuart@gathman.org> Date: Thu, 5 Apr 2007 17:59:07 +0000 Subject: [PATCH] Stop querying gossip server twice. --- bms.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bms.py b/bms.py index 7388632..648d0b0 100644 --- a/bms.py +++ b/bms.py @@ -1,6 +1,9 @@ #!/usr/bin/env python # A simple milter that has grown quite a bit. # $Log$ +# Revision 1.103 2007/04/02 18:37:25 customdesigned +# Don't disable gossip for temporary error. +# # Revision 1.102 2007/03/30 18:13:41 customdesigned # Report bestguess and helo-spf as key-value pairs in Received-SPF # instead of in their own headers. @@ -780,7 +783,7 @@ class bmsMilter(Milter.Milter): umis = gossip.umis(domain+qual,self.id+time.time()) res = gossip_node.query(umis,domain,qual,1) if res: - res,hdr,val = gossip_node.query(umis,domain,qual,1) + res,hdr,val = res self.add_header(hdr,val) a = val.split(',') self.reputation = int(a[-2]) -- GitLab