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

Barry Warsaw bwarsaw@users.sourceforge.net
Mon, 13 Aug 2001 14:18:03 -0700


Update of /cvsroot/python/python/dist/src/Lib
In directory usw-pr-cvs1:/tmp/cvs-serv25752

Modified Files:
	smtpd.py 
Log Message:
found_terminator(): Add a debug print showing the data.


Index: smtpd.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/smtpd.py,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** smtpd.py	2001/08/13 14:43:43	1.6
--- smtpd.py	2001/08/13 21:18:01	1.7
***************
*** 1,4 ****
  #! /usr/bin/env python
! """An RFC 821 smtp proxy.
  
  Usage: %(program)s [options] localhost:port remotehost:port
--- 1,4 ----
  #! /usr/bin/env python
! """An RFC 2821 smtp proxy.
  
  Usage: %(program)s [options] localhost:port remotehost:port
***************
*** 134,137 ****
--- 134,138 ----
      def found_terminator(self):
          line = EMPTYSTRING.join(self.__line)
+         print >> DEBUGSTREAM, 'Data:', repr(line)
          self.__line = []
          if self.__state == self.COMMAND: