[Python-checkins] python/dist/src/Lib/email Iterators.py,1.13,1.14

bwarsaw at users.sourceforge.net bwarsaw at users.sourceforge.net
Thu May 13 16:14:23 EDT 2004


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

Modified Files:
	Iterators.py 
Log Message:
_structure(): Make sure all output goes the to fp object.


Index: Iterators.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/email/Iterators.py,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -d -r1.13 -r1.14
*** Iterators.py	9 May 2004 03:42:37 -0000	1.13
--- Iterators.py	13 May 2004 20:14:20 -0000	1.14
***************
*** 60,66 ****
      print >> fp, tab + msg.get_content_type(),
      if include_default:
!         print '[%s]' % msg.get_default_type()
      else:
!         print
      if msg.is_multipart():
          for subpart in msg.get_payload():
--- 60,66 ----
      print >> fp, tab + msg.get_content_type(),
      if include_default:
!         print >> fp, '[%s]' % msg.get_default_type()
      else:
!         print >> fp
      if msg.is_multipart():
          for subpart in msg.get_payload():




More information about the Python-checkins mailing list