[Python-checkins] python/dist/src/Lib/email Iterators.py,1.10,1.11

bwarsaw@users.sourceforge.net bwarsaw@users.sourceforge.net
Sun, 01 Sep 2002 14:04:45 -0700


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

Modified Files:
	Iterators.py 
Log Message:
_structure(): Use .get_content_type()


Index: Iterators.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/email/Iterators.py,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** Iterators.py	19 Jul 2002 22:21:47 -0000	1.10
--- Iterators.py	1 Sep 2002 21:04:43 -0000	1.11
***************
*** 20,24 ****
          fp = sys.stdout
      tab = ' ' * (level * 4)
!     print >> fp, tab + msg.get_type(msg.get_default_type())
      if msg.is_multipart():
          for subpart in msg.get_payload():
--- 20,24 ----
          fp = sys.stdout
      tab = ' ' * (level * 4)
!     print >> fp, tab + msg.get_content_type()
      if msg.is_multipart():
          for subpart in msg.get_payload():