SF.net SVN: tmda: [2105] trunk/tmda/bin/tmda-sendmail

[email protected] Fri, 13 Oct 2006 22:29:08 -0700
Newsgroups gmane.mail.spam.tmda.cvs
Message-ID <[email protected]>
Revision: 2105
          http://svn.sourceforge.net/tmda/?rev=2105&view=rev
Author:   jasonrm
Date:     2006-10-13 22:29:05 -0700 (Fri, 13 Oct 2006)

Log Message:
-----------
change '1' to True.  I think this script is the only one
I will not switch to optparse.  I don't see the options
ever changing, and I think due to all the 'pass' options,
this getopt method is cleaner than the optparse one would be.

Modified Paths:
--------------
    trunk/tmda/bin/tmda-sendmail

Modified: trunk/tmda/bin/tmda-sendmail
===================================================================
--- trunk/tmda/bin/tmda-sendmail	2006-10-14 04:52:08 UTC (rev 2104)
+++ trunk/tmda/bin/tmda-sendmail	2006-10-14 05:29:05 UTC (rev 2105)
@@ -70,7 +70,7 @@
     elif opt in list('BpvixmeoEJ'):
         pass 
     elif opt == '-t':
-        header_recipients = 1
+        header_recipients = True
     elif opt == '-f':
         pass
     elif opt == '-F':
@@ -83,7 +83,7 @@
     if args and not header_recipients:
         for a in args:
             arglist.append(a)
-    os.execv(os.path.join(execdir,'tmda-inject'), arglist)
+    os.execv(os.path.join(execdir, 'tmda-inject'), arglist)
 
 
 # This is the end my friend.


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.