diff options
author | tkikuchi <> | 2005-12-26 01:22:09 +0000 |
---|---|---|
committer | tkikuchi <> | 2005-12-26 01:22:09 +0000 |
commit | 7c6464ac0f6acc41d6906a8a8d411014d65119ce (patch) | |
tree | 3ca80281b3ce6f6913b7ffd02f93ccf6a1452561 /Mailman/Archiver | |
parent | 7ed12ca5e76dac460e529856ef3e376788e06f21 (diff) | |
download | mailman2-7c6464ac0f6acc41d6906a8a8d411014d65119ce.tar.gz mailman2-7c6464ac0f6acc41d6906a8a8d411014d65119ce.tar.xz mailman2-7c6464ac0f6acc41d6906a8a8d411014d65119ce.zip |
True/False definition for Python2.1.
Only check in Release_2_1-maint branch because 2.2 will require
higher version of python.
Diffstat (limited to 'Mailman/Archiver')
-rw-r--r-- | Mailman/Archiver/pipermail.py | 7 |
1 files changed, 7 insertions, 0 deletions
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 = ' ' |