diff options
author | Mark Sapiro <msapiro@value.net> | 2007-11-22 11:15:26 -0800 |
---|---|---|
committer | Mark Sapiro <msapiro@value.net> | 2007-11-22 11:15:26 -0800 |
commit | 944d449b3d18c8a51786b79b2c27bc91aecd673e (patch) | |
tree | 82627231f2998170edd17e9124b00de79726b569 /Mailman | |
parent | d3ac493213dfb3e0d3027e38c1bc9712c621c4e4 (diff) | |
download | mailman2-944d449b3d18c8a51786b79b2c27bc91aecd673e.tar.gz mailman2-944d449b3d18c8a51786b79b2c27bc91aecd673e.tar.xz mailman2-944d449b3d18c8a51786b79b2c27bc91aecd673e.zip |
versions.py - Moved imports to module scope.
Diffstat (limited to 'Mailman')
-rw-r--r-- | Mailman/versions.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Mailman/versions.py b/Mailman/versions.py index cffe5c6a..f77eb2f2 100644 --- a/Mailman/versions.py +++ b/Mailman/versions.py @@ -33,11 +33,14 @@ run again until another version change is detected. """ +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 @@ def UpdateOldUsers(mlist): # 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 @@ def NewRequestsDatabase(l): # 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] |