summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbwarsaw1998-07-02 19:36:40 +0000
committerbwarsaw1998-07-02 19:36:40 +0000
commitb04166953bfefac38d5d4dc4fe07bbbc36f6aff8 (patch)
tree6704ca7ac84c8951f61648815c9f4d5099efc2fe
parent67b7d906d7b22b9fca54898462f7f6f211929c5f (diff)
downloadmailman-b04166953bfefac38d5d4dc4fe07bbbc36f6aff8.tar.gz
mailman-b04166953bfefac38d5d4dc4fe07bbbc36f6aff8.tar.zst
mailman-b04166953bfefac38d5d4dc4fe07bbbc36f6aff8.zip
-rw-r--r--Mailman/Cgi/admin.py21
1 files changed, 0 insertions, 21 deletions
diff --git a/Mailman/Cgi/admin.py b/Mailman/Cgi/admin.py
index 4d2efb395..e2f965024 100644
--- a/Mailman/Cgi/admin.py
+++ b/Mailman/Cgi/admin.py
@@ -31,12 +31,6 @@ from Mailman.htmlformat import *
from Mailman.Crypt import crypt
from Mailman import mm_cfg
-try:
- sys.stderr = Utils.StampedLogger("error", label = 'admin',
- manual_reprime=1, nofail=0)
-except IOError:
- pass # Oh well - SOL on redirect, errors show thru.
-
CATEGORIES = [('general', "General Options"),
('members', "Membership Management"),
('privacy', "Privacy Options"),
@@ -57,21 +51,6 @@ def isAuthenticated(list, password=None, SECRET="SECRET"):
except Errors.MMBadPasswordError:
AddErrorMessage(doc, 'Error: Incorrect admin password.')
return 0
- except:
- print "Content-type: text/html\n"
-
- print "<p><h3>We're sorry, we hit a bug!</h3>\n"
- print "If you would like to help us identify the problem, please "
- print "email a copy of this page to the webmaster for this site"
- print 'with a description of what happened. Thanks!'
- print "\n<PRE>"
- try:
- import traceback
- sys.stderr = sys.stdout
- traceback.print_exc()
- except:
- print "[failed to get traceback]"
- print "\n\n</PRE>"
token = md5.new(SECRET + list_name + SECRET).digest()
token = base64.encodestring(token)