aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbwarsaw <>2004-05-18 03:31:06 +0000
committerbwarsaw <>2004-05-18 03:31:06 +0000
commit2371ea77ae419728511359abd318f32993e46137 (patch)
tree82325e3023c278a6b3bddf8a72305c90156a7485
parent079d37e2259528cee1bb3bd1535f2199f02513a3 (diff)
downloadmailman2-2371ea77ae419728511359abd318f32993e46137.tar.gz
mailman2-2371ea77ae419728511359abd318f32993e46137.tar.xz
mailman2-2371ea77ae419728511359abd318f32993e46137.zip
Add True/False compatibility for older Pythons. Closes SF bug #955381.
-rw-r--r--Mailman/ListAdmin.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/Mailman/ListAdmin.py b/Mailman/ListAdmin.py
index 7548f4a9..78eba9bf 100644
--- a/Mailman/ListAdmin.py
+++ b/Mailman/ListAdmin.py
@@ -60,6 +60,12 @@ LOST = 2
DASH = '-'
NL = '\n'
+try:
+ True, False
+except NameError:
+ True = 1
+ False = 0
+
class ListAdmin: