[Python-checkins] python/dist/src/Lib smtpd.py,1.13.16.1,1.13.16.2

bwarsaw at users.sourceforge.net bwarsaw at users.sourceforge.net
Sat Oct 9 23:43:49 CEST 2004


Update of /cvsroot/python/python/dist/src/Lib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4324

Modified Files:
      Tag: release23-maint
	smtpd.py 
Log Message:
Fix for SF bug # 1010102.  The default is PureProxy not SMTPProxy.


Index: smtpd.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/smtpd.py,v
retrieving revision 1.13.16.1
retrieving revision 1.13.16.2
diff -u -d -r1.13.16.1 -r1.13.16.2
--- smtpd.py	12 Jul 2004 23:10:42 -0000	1.13.16.1
+++ smtpd.py	9 Oct 2004 21:43:47 -0000	1.13.16.2
@@ -17,7 +17,7 @@
 
     --class classname
     -c classname
-        Use `classname' as the concrete SMTP proxy class.  Uses `SMTPProxy' by
+        Use `classname' as the concrete SMTP proxy class.  Uses `PureProxy' by
         default.
 
     --debug
@@ -346,6 +346,7 @@
         refused = self._deliver(mailfrom, rcpttos, data)
         # TBD: what to do with refused addresses?
         print >> DEBUGSTREAM, 'we got some refusals:', refused
+        return refused
 
     def _deliver(self, mailfrom, rcpttos, data):
         import smtplib



More information about the Python-checkins mailing list