diff options
author | bwarsaw <> | 2004-05-18 03:31:06 +0000 |
---|---|---|
committer | bwarsaw <> | 2004-05-18 03:31:06 +0000 |
commit | 2371ea77ae419728511359abd318f32993e46137 (patch) | |
tree | 82325e3023c278a6b3bddf8a72305c90156a7485 | |
parent | 079d37e2259528cee1bb3bd1535f2199f02513a3 (diff) | |
download | mailman2-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.py | 6 |
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: |