[Mailman-Developers] [Mailman-checkins] [Branch ~mailman-coders/mailman/2.1]

Barry Warsaw barry at list.org
Sun Nov 18 19:28:26 CET 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Oct 4, 2007, at 9:46 PM, noreply at launchpad.net wrote:

> ------------------------------------------------------------
> revno: 992
> committer: Mark Sapiro <msapiro at value.net>
> branch nick: 2.1
> timestamp: Thu 2007-10-04 18:35:10 -0700
> message:
>   /cygdrive/c/MM_bzr/log.txt
> modified:
>   Mailman/versions.py
>
> === modified file 'Mailman/versions.py'
> --- a/Mailman/versions.py	2005-12-30 18:50:08 +0000
> +++ b/Mailman/versions.py	2007-10-05 01:35:10 +0000
> @@ -483,10 +483,11 @@
>              # blow away the original timestamp and request id.   
> This means the
>              # request will live a little longer than it possibly  
> should have,
>              # but that's no big deal.
> +            import email
>              for p in v:
>                  author, text = p[2]
>                  reason = p[3]
> -                msg = Message.OutgoingMessage(text)
> +                msg = email.message_from_string(text,  
> Message.Message)
>                  l.HoldMessage(msg, reason)
>              del r[k]
>          elif k == 'add_member':

Should the import happen at the module global level?

- -Barry

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)

iD8DBQFHQIRK2YZpQepbvXERAjRQAJ9/yhfNVNoxMY+V3jS9p7rZka5QmQCgrNpS
ZXyQ0KC915TCjkwM7ECdeOc=
=M8JK
-----END PGP SIGNATURE-----


More information about the Mailman-Developers mailing list