Update of /cvsroot/mailman/mailman/Mailman/Handlers
In directory sc8-pr-cvs1:/tmp/cvs-serv18118/Mailman/Handlers

Modified Files:
      Tag: Release_2_1-maint
        SMTPDirect.py 
Log Message:
True/False where appropriate.


Index: SMTPDirect.py
===================================================================
RCS file: /cvsroot/mailman/mailman/Mailman/Handlers/SMTPDirect.py,v
retrieving revision 2.25.2.7
retrieving revision 2.25.2.8
diff -u -d -r2.25.2.7 -r2.25.2.8
--- SMTPDirect.py       27 Nov 2003 00:08:59 -0000      2.25.2.7
+++ SMTPDirect.py       1 Dec 2003 01:38:22 -0000       2.25.2.8
@@ -45,6 +45,12 @@
 
 DOT = '.'
 
+try:
+    True, False
+except NameError:
+    True = 1
+    False = 0
+
 
 
 # Manage a connection to the SMTP server
@@ -123,7 +129,7 @@
         # 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()



_______________________________________________
Mailman-checkins mailing list
[EMAIL PROTECTED]
Unsubscribe: http://mail.python.org/mailman/options/mailman-checkins/archive%40jab.org

Reply via email to