aboutsummaryrefslogtreecommitdiffstats
path: root/Mailman/Handlers
diff options
context:
space:
mode:
authorbwarsaw <>2003-12-01 01:38:22 +0000
committerbwarsaw <>2003-12-01 01:38:22 +0000
commite9d6d732547ba197c198a0f8e5f3acb6c4c95b96 (patch)
tree41c45e11d6422289290ceaf4c5eb39b660efb87a /Mailman/Handlers
parentc3949aec991e4497e4bbc748354593c3364b6f60 (diff)
downloadmailman2-e9d6d732547ba197c198a0f8e5f3acb6c4c95b96.tar.gz
mailman2-e9d6d732547ba197c198a0f8e5f3acb6c4c95b96.tar.xz
mailman2-e9d6d732547ba197c198a0f8e5f3acb6c4c95b96.zip
True/False where appropriate.
Diffstat (limited to 'Mailman/Handlers')
-rw-r--r--Mailman/Handlers/SMTPDirect.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/Mailman/Handlers/SMTPDirect.py b/Mailman/Handlers/SMTPDirect.py
index 2604c244..cb967ad0 100644
--- a/Mailman/Handlers/SMTPDirect.py
+++ b/Mailman/Handlers/SMTPDirect.py
@@ -45,6 +45,12 @@ from email.Charset import Charset
DOT = '.'
+try:
+ True, False
+except NameError:
+ True = 1
+ False = 0
+
# Manage a connection to the SMTP server
@@ -123,7 +129,7 @@ def process(mlist, msg, msgdata):
# Be sure never to decorate the message more than once!
if not msgdata.get('decorated'):
Decorate.process(mlist, msg, msgdata)
- msgdata['decorated'] = 1
+ msgdata['decorated'] = True
deliveryfunc = bulkdeliver
refused = {}
t0 = time.time()