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/Cgi/admin.py | |
| parent | fdd34dfe8926c22353e8b6defd4d538a52f4cc00 (diff) | |
| download | mailman-592feaed3c2fbc9e0c8489805f818b6a9d5b13b8.tar.gz mailman-592feaed3c2fbc9e0c8489805f818b6a9d5b13b8.tar.zst mailman-592feaed3c2fbc9e0c8489805f818b6a9d5b13b8.zip | |
Diffstat (limited to 'Mailman/Cgi/admin.py')
| -rw-r--r-- | Mailman/Cgi/admin.py | 32 |
1 files changed, 12 insertions, 20 deletions
diff --git a/Mailman/Cgi/admin.py b/Mailman/Cgi/admin.py index 8434c8179..c78a68ac1 100644 --- a/Mailman/Cgi/admin.py +++ b/Mailman/Cgi/admin.py @@ -1,4 +1,4 @@ -# Copyright (C) 1998-2005 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 @@ -17,31 +17,29 @@ """Process and produce the list-administration options forms.""" -# For Python 2.1.x compatibility -from __future__ import nested_scopes - -import sys import os import re import cgi import sha -import urllib +import sys import signal -from types import * -from string import lowercase, digits +import urllib from email.Utils import unquote, parseaddr, formataddr +from string import lowercase, digits +from types import * -from Mailman import mm_cfg -from Mailman import Utils -from Mailman import MailList from Mailman import Errors -from Mailman import MemberAdaptor from Mailman import i18n -from Mailman.UserDesc import UserDesc -from Mailman.htmlformat import * +from Mailman import MailList +from Mailman import MemberAdaptor +from Mailman import mm_cfg +from Mailman import Utils + from Mailman.Cgi import Auth +from Mailman.htmlformat import * from Mailman.Logging.Syslog import syslog +from Mailman.UserDesc import UserDesc # Set up i18n _ = i18n._ @@ -50,12 +48,6 @@ i18n.set_language(mm_cfg.DEFAULT_SERVER_LANGUAGE) NL = '\n' OPTCOLUMNS = 11 -try: - True, False -except NameError: - True = 1 - False = 0 - def main(): |
