This commit was manufactured by cvs2svn to create tag 'milter-0_8_0a1'.
Sprout from bmsi 2005-05-31 18:23:49 UTC Stuart Gathman <stuart@gathman.org> 'Development changes since 0.7.2' Cherrypick from master 2005-05-31 20:39:16 UTC Stuart Gathman <stuart@gathman.org> 'Create Milter package.': MANIFEST.in milter.html setup.py spf.py
This commit is contained in:
@@ -401,6 +401,7 @@ class query(object):
|
||||
Returns (result, mta-status-code, explanation) where
|
||||
result in ['fail', 'softfail', 'neutral' 'unknown', 'pass', 'error']
|
||||
"""
|
||||
self.mech = [] # unknown mechanisms
|
||||
if self.i.startswith('127.'):
|
||||
return ('pass', 250, 'local connections always pass')
|
||||
|
||||
@@ -456,7 +457,6 @@ class query(object):
|
||||
# overridden with 'default=' modifier
|
||||
#
|
||||
default = 'neutral'
|
||||
self.mech = [] # unknown mechanisms
|
||||
|
||||
# Look for modifiers
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user