summaryrefslogtreecommitdiff
path: root/Mailman/Handlers/AvoidDuplicates.py
diff options
context:
space:
mode:
authorbwarsaw2006-04-15 22:58:13 +0000
committerbwarsaw2006-04-15 22:58:13 +0000
commit592feaed3c2fbc9e0c8489805f818b6a9d5b13b8 (patch)
tree2a7e0afd65fd0a751a53489e6d3d2eaf973be2a1 /Mailman/Handlers/AvoidDuplicates.py
parentfdd34dfe8926c22353e8b6defd4d538a52f4cc00 (diff)
downloadmailman-592feaed3c2fbc9e0c8489805f818b6a9d5b13b8.tar.gz
mailman-592feaed3c2fbc9e0c8489805f818b6a9d5b13b8.tar.zst
mailman-592feaed3c2fbc9e0c8489805f818b6a9d5b13b8.zip
Now that Python 2.3 is the minimum requirement for Mailman 2.2:
- Remove True/False binding cruft - Remove __future__ statements for nested scopes - Remove ascii_letters import hack from Utils.py - Remove mimetypes.guess_all_extensions import hack from Scrubber.py - In Pending.py, set _missing to object() (better than using []) Also, update copyright years where appropriate, and re-order imports more to my PEP 8 tastes. Whitespace normalize.
Diffstat (limited to 'Mailman/Handlers/AvoidDuplicates.py')
-rw-r--r--Mailman/Handlers/AvoidDuplicates.py8
1 files changed, 1 insertions, 7 deletions
diff --git a/Mailman/Handlers/AvoidDuplicates.py b/Mailman/Handlers/AvoidDuplicates.py
index fdcc49ca1..24686bb8d 100644
--- a/Mailman/Handlers/AvoidDuplicates.py
+++ b/Mailman/Handlers/AvoidDuplicates.py
@@ -1,4 +1,4 @@
-# Copyright (C) 2002-2003 by the Free Software Foundation, Inc.
+# Copyright (C) 2002-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
@@ -27,12 +27,6 @@ from Mailman import mm_cfg
COMMASPACE = ', '
-try:
- True, False
-except NameError:
- True = 1
- False = 0
-
def process(mlist, msg, msgdata):