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/SecurityManager.py | |
| parent | fdd34dfe8926c22353e8b6defd4d538a52f4cc00 (diff) | |
| download | mailman-592feaed3c2fbc9e0c8489805f818b6a9d5b13b8.tar.gz mailman-592feaed3c2fbc9e0c8489805f818b6a9d5b13b8.tar.zst mailman-592feaed3c2fbc9e0c8489805f818b6a9d5b13b8.zip | |
Diffstat (limited to 'Mailman/SecurityManager.py')
| -rw-r--r-- | Mailman/SecurityManager.py | 23 |
1 files changed, 9 insertions, 14 deletions
diff --git a/Mailman/SecurityManager.py b/Mailman/SecurityManager.py index ba65fec28..204daf417 100644 --- a/Mailman/SecurityManager.py +++ b/Mailman/SecurityManager.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 @@ -48,31 +48,26 @@ import os import re +import md5 import sha import time +import urllib import Cookie import marshal import binascii -import urllib + from types import StringType, TupleType from urlparse import urlparse -try: - import crypt -except ImportError: - crypt = None -import md5 - -from Mailman import mm_cfg -from Mailman import Utils from Mailman import Errors +from Mailman import Utils +from Mailman import mm_cfg from Mailman.Logging.Syslog import syslog try: - True, False -except NameError: - True = 1 - False = 0 + import crypt +except ImportError: + crypt = None |
