diff options
| author | bwarsaw | 2006-04-15 22:58:13 +0000 |
|---|---|---|
| committer | bwarsaw | 2006-04-15 22:58:13 +0000 |
| commit | 592feaed3c2fbc9e0c8489805f818b6a9d5b13b8 (patch) | |
| tree | 2a7e0afd65fd0a751a53489e6d3d2eaf973be2a1 /Mailman/Queue/CommandRunner.py | |
| parent | fdd34dfe8926c22353e8b6defd4d538a52f4cc00 (diff) | |
| download | mailman-592feaed3c2fbc9e0c8489805f818b6a9d5b13b8.tar.gz mailman-592feaed3c2fbc9e0c8489805f818b6a9d5b13b8.tar.zst mailman-592feaed3c2fbc9e0c8489805f818b6a9d5b13b8.zip | |
Diffstat (limited to 'Mailman/Queue/CommandRunner.py')
| -rw-r--r-- | Mailman/Queue/CommandRunner.py | 33 |
1 files changed, 12 insertions, 21 deletions
diff --git a/Mailman/Queue/CommandRunner.py b/Mailman/Queue/CommandRunner.py index e08d02eb5..64b8f0758 100644 --- a/Mailman/Queue/CommandRunner.py +++ b/Mailman/Queue/CommandRunner.py @@ -1,4 +1,4 @@ -# Copyright (C) 1998-2004 by the Free Software Foundation, Inc. +# Copyright (C) 1998-2006 by the Free Software Foundation, Inc. # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License @@ -23,36 +23,27 @@ -# BAW: get rid of this when we Python 2.2 is a minimum requirement. -from __future__ import nested_scopes - import re import sys + +from email.Errors import HeaderParseError +from email.Header import decode_header, make_header, Header +from email.Iterators import typed_subpart_iterator +from email.MIMEMessage import MIMEMessage +from email.MIMEText import MIMEText from types import StringType, UnicodeType -from Mailman import mm_cfg -from Mailman import Utils +from Mailman import LockFile from Mailman import Message +from Mailman import Utils +from Mailman import mm_cfg from Mailman.Handlers import Replybot -from Mailman.i18n import _ -from Mailman.Queue.Runner import Runner from Mailman.Logging.Syslog import syslog -from Mailman import LockFile - -from email.Header import decode_header, make_header, Header -from email.Errors import HeaderParseError -from email.Iterators import typed_subpart_iterator -from email.MIMEText import MIMEText -from email.MIMEMessage import MIMEMessage +from Mailman.Queue.Runner import Runner +from Mailman.i18n import _ NL = '\n' -try: - True, False -except NameError: - True = 1 - False = 0 - class Results: |
