[Mailman-Developers] Uncaught runner exception: 'generator' object has no attribute 'insert'

Barry A. Warsaw barry@zope.com
Mon, 26 Nov 2001 23:19:28 -0500


Oops, forgot the patch!

-Barry

Index: MailCommandHandler.py
===================================================================
RCS file: /cvsroot/mailman/mailman/Mailman/MailCommandHandler.py,v
retrieving revision 2.24
diff -u -r2.24 MailCommandHandler.py
--- MailCommandHandler.py	2001/11/21 17:17:35	2.24
+++ MailCommandHandler.py	2001/11/27 04:19:23
@@ -181,7 +181,7 @@
             if mo:
                 subject = mo.group('cmd')
 
-        lines = email.Iterators.body_line_iterator(msg)
+        lines = email.Iterators.body_line_iterator(msg)[:]
 
         # Find out if the subject line has a command on it
         subjcmd = []