aboutsummaryrefslogtreecommitdiffstats
path: root/Mailman/Archiver
diff options
context:
space:
mode:
authortkikuchi <>2005-12-26 01:22:09 +0000
committertkikuchi <>2005-12-26 01:22:09 +0000
commit7c6464ac0f6acc41d6906a8a8d411014d65119ce (patch)
tree3ca80281b3ce6f6913b7ffd02f93ccf6a1452561 /Mailman/Archiver
parent7ed12ca5e76dac460e529856ef3e376788e06f21 (diff)
downloadmailman2-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.py7
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 = ' '