[Python-checkins] CVS: python/dist/src/Lib smtpd.py,1.11,1.12

Neal Norwitz nnorwitz@users.sourceforge.net
2002年2月11日 10:05:08 -0800


Update of /cvsroot/python/python/dist/src/Lib
In directory usw-pr-cvs1:/tmp/cvs-serv7431
Modified Files:
	smtpd.py 
Log Message:
SF #515021, print the refused list to the DEBUGSTREAM, so the parameter is used
Note: There is a TBD (aka FIXME) for how best to handle the refused addresses
Index: smtpd.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/smtpd.py,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** smtpd.py	4 Nov 2001 03:04:25 -0000	1.11
--- smtpd.py	11 Feb 2002 18:05:05 -0000	1.12
***************
*** 349,353 ****
 refused = self._deliver(mailfrom, rcpttos, data)
 # TBD: what to do with refused addresses?
! print >> DEBUGSTREAM, 'we got some refusals'
 
 def _deliver(self, mailfrom, rcpttos, data):
--- 349,353 ----
 refused = self._deliver(mailfrom, rcpttos, data)
 # TBD: what to do with refused addresses?
! print >> DEBUGSTREAM, 'we got some refusals:', refused
 
 def _deliver(self, mailfrom, rcpttos, data):
***************
*** 418,422 ****
 refused = self._deliver(mailfrom, rcpttos, data)
 # TBD: what to do with refused addresses?
! print >> DEBUGSTREAM, 'we got refusals'
 # Now deliver directly to the list commands
 mlists = {}
--- 418,422 ----
 refused = self._deliver(mailfrom, rcpttos, data)
 # TBD: what to do with refused addresses?
! print >> DEBUGSTREAM, 'we got refusals:', refused
 # Now deliver directly to the list commands
 mlists = {}

AltStyle によって変換されたページ (->オリジナル) /