CVS: tmda/TMDA/pythonlib/email Message.py,1.5,1.6
"Jason R. Mastaler" <[email protected]>
| Newsgroups | gmane.mail.spam.tmda.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/tmda/tmda/TMDA/pythonlib/email
In directory sc8-pr-cvs1:/tmp/cvs-serv12049
Modified Files:
Message.py
Log Message:
sync with Python email
Index: Message.py
===================================================================
RCS file: /cvsroot/tmda/tmda/TMDA/pythonlib/email/Message.py,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- Message.py 15 May 2003 21:54:51 -0000 1.5
+++ Message.py 10 Jun 2003 17:23:23 -0000 1.6
@@ -186,7 +186,7 @@
if i is None:
payload = self._payload
elif not isinstance(self._payload, ListType):
- raise TypeError, i
+ raise TypeError, 'Expected list, got %s' % type(self._payload)
else:
payload = self._payload[i]
if decode:
_______________________________________
tmda-cvs mailing list
http://tmda.net/lists/listinfo/tmda-cvs