From 7c6464ac0f6acc41d6906a8a8d411014d65119ce Mon Sep 17 00:00:00 2001 From: tkikuchi <> Date: Mon, 26 Dec 2005 01:22:09 +0000 Subject: True/False definition for Python2.1. Only check in Release_2_1-maint branch because 2.2 will require higher version of python. --- Mailman/Archiver/pipermail.py | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'Mailman/Archiver') diff --git a/Mailman/Archiver/pipermail.py b/Mailman/Archiver/pipermail.py index f27e1101..ec5abaff 100644 --- a/Mailman/Archiver/pipermail.py +++ b/Mailman/Archiver/pipermail.py @@ -21,6 +21,13 @@ from Mailman.Mailbox import ArchiverMailbox from Mailman.Logging.Syslog import syslog from Mailman.i18n import _ +# True/False +try: + True, False +except NameError: + True = 1 + False = 0 + SPACE = ' ' -- cgit v1.2.3