CVS: tmda/TMDA Pending.py,1.22,1.23 ChangeLog,1.298,1.299

Timothy Legant <[email protected]>
Newsgroups gmane.mail.spam.tmda.cvs
Message-ID <[email protected]>
Update of /cvsroot/tmda/tmda/TMDA
In directory sc8-pr-cvs1:/tmp/cvs-serv23623/TMDA

Modified Files:
	Pending.py ChangeLog 
Log Message:
Always create message object in Pending.Message.__init__ using
Util.msg_from_file.  This prevents email.Parser.Parser bug 846938 from
manifesting.


Index: Pending.py
===================================================================
RCS file: /cvsroot/tmda/tmda/TMDA/Pending.py,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- Pending.py	21 Aug 2003 19:18:31 -0000	1.22
+++ Pending.py	5 Dec 2003 22:53:02 -0000	1.23
@@ -421,10 +421,7 @@
         self.msgfile = os.path.join(Defaults.PENDING_DIR, self.msgid)
         if not os.path.exists(self.msgfile):
             raise Errors.MessageError, '%s not found!' % self.msgid
-        try:
-            self.msgobj = email.message_from_file(open(self.msgfile, 'r'))
-        except email.Errors.BoundaryError:
-            self.msgobj = Util.msg_from_file(open(self.msgfile, 'r'))
+        self.msgobj = Util.msg_from_file(open(self.msgfile, 'r'))
         self.recipient = recipient
 
     def initMessage(self, recipient = None):

Index: ChangeLog
===================================================================
RCS file: /cvsroot/tmda/tmda/TMDA/ChangeLog,v
retrieving revision 1.298
retrieving revision 1.299
diff -u -r1.298 -r1.299
--- ChangeLog	3 Dec 2003 19:10:50 -0000	1.298
+++ ChangeLog	5 Dec 2003 22:53:02 -0000	1.299
@@ -1,3 +1,9 @@
+2003-12-05  Tim Legant  <[email protected]>
+
+	* Pending.py (Message.__init__): Always create message object
+	using Util.msg_from_file.  This prevents email.Parser.Parser bug
+	846938 from manifesting.
+
 2003-12-03  Jason R. Mastaler  <[email protected]>
 
 	* AutoResponse.py (AutoResponse.create): Add an RFC 2183
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.