------------------------------------------------------------
revno: 1018
committer: Mark Sapiro <[EMAIL PROTECTED]>
branch nick: 2.1
timestamp: Thu 2007-11-22 11:15:26 -0800
message:
versions.py - Moved imports to module scope.
modified:
Mailman/versions.py
=== modified file 'Mailman/versions.py'
--- a/Mailman/versions.py 2007-10-05 02:50:56 +0000
+++ b/Mailman/versions.py 2007-11-22 19:15:26 +0000
@@ -33,11 +33,14 @@
"""
+import email
+
from types import ListType, StringType
from Mailman import mm_cfg
from Mailman import Utils
from Mailman import Message
+from Mailman.Bouncer import _BounceInfo
from Mailman.MemberAdaptor import UNKNOWN
from Mailman.Logging.Syslog import syslog
@@ -419,7 +422,6 @@
# Go through all the keys in bounce_info. If the key is not a member, or
# if the data is not a _BounceInfo instance, chuck the bounce info. We're
# doing things differently now.
- from Mailman.Bouncer import _BounceInfo
for m in mlist.bounce_info.keys():
if not mlist.isMember(m) or not isinstance(mlist.getBounceInfo(m),
_BounceInfo):
@@ -483,7 +485,6 @@
# 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]
--
https://code.launchpad.net/~mailman-coders/mailman/2.1
You are receiving this branch notification because you are subscribed to it.
To unsubscribe from this branch go to
https://code.launchpad.net/~mailman-coders/mailman/2.1/+subscription/mailman-checkins.
_______________________________________________
Mailman-checkins mailing list
[email protected]
Unsubscribe:
http://mail.python.org/mailman/options/mailman-checkins/archive%40jab.org