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

bwarsaw@sourceforge.net bwarsaw@sourceforge.net
2002年5月21日 18:52:12 -0700


Update of /cvsroot/python/python/dist/src/Lib/email
In directory usw-pr-cvs1:/tmp/cvs-serv20216/email
Modified Files:
	Utils.py 
Log Message:
getaddresses(): Like the change in rfc822.py, this one needs to access
the AddressList.addresslist attribute directly.
Also, add a test case for the email.Utils.getaddresses() interface.
Index: Utils.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/email/Utils.py,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -d -r1.13 -r1.14
*** Utils.py	19 May 2002 23:44:19 -0000	1.13
--- Utils.py	22 May 2002 01:52:10 -0000	1.14
***************
*** 114,118 ****
 all = COMMASPACE.join(fieldvalues)
 a = _AddressList(all)
! return a.getaddrlist()
 
 
--- 114,118 ----
 all = COMMASPACE.join(fieldvalues)
 a = _AddressList(all)
! return a.addresslist
 
 

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