[Spambayes-checkins] spambayes/contrib tte.py,1.18,1.19
Skip Montanaro
montanaro at users.sourceforge.net
Fri May 11 04:24:57 CEST 2007
Update of /cvsroot/spambayes/spambayes/contrib
In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv13771
Modified Files:
tte.py
Log Message:
--cullext can't be used to mean two different things.
Index: tte.py
===================================================================
RCS file: /cvsroot/spambayes/spambayes/contrib/tte.py,v
retrieving revision 1.18
retrieving revision 1.19
diff -C2 -d -r1.18 -r1.19
*** tte.py 11 May 2007 00:23:07 -0000 1.18
--- tte.py 11 May 2007 02:24:54 -0000 1.19
***************
*** 228,232 ****
"database=", "pickle=", "verbose",
"option=", "max=", "maxrounds=",
! "cullext=", "reverse", "ratio=", "unbalanced"])
except getopt.GetoptError, msg:
usage(msg)
--- 228,233 ----
"database=", "pickle=", "verbose",
"option=", "max=", "maxrounds=",
! "cullext=", "cull", "reverse",
! "ratio=", "unbalanced"])
except getopt.GetoptError, msg:
usage(msg)
***************
*** 251,255 ****
elif opt in ("-c", "--cullext"):
cullext = arg
! elif opt in ("-C", "--cullext"):
cullext = ''
elif opt in ("-m", "--max"):
--- 252,256 ----
elif opt in ("-c", "--cullext"):
cullext = arg
! elif opt in ("-C", "--cull"):
cullext = ''
elif opt in ("-m", "--max"):
More information about the Spambayes-checkins
mailing list