From 2371ea77ae419728511359abd318f32993e46137 Mon Sep 17 00:00:00 2001 From: bwarsaw <> Date: Tue, 18 May 2004 03:31:06 +0000 Subject: Add True/False compatibility for older Pythons. Closes SF bug #955381. --- Mailman/ListAdmin.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Mailman') 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: -- cgit v1.2.3