spambayes/contrib tte.py,1.15,1.16

"Skip Montanaro" <[email protected]>
Newsgroups gmane.mail.spam.spambayes.cvs
Message-ID <[email protected]>
Update of /cvsroot/spambayes/spambayes/contrib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16030

Modified Files:
	tte.py 
Log Message:
Include time to create & reverse mailbox in accounting for each round


Index: tte.py
===================================================================
RCS file: /cvsroot/spambayes/spambayes/contrib/tte.py,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -d -r1.15 -r1.16
*** tte.py	1 Jan 2005 17:46:18 -0000	1.15
--- tte.py	19 Apr 2005 11:15:12 -0000	1.16
***************
*** 104,107 ****
--- 104,112 ----
  
      while round < maxrounds and (hmisses or smisses or round == 0):
+         round += 1
+         if verbose:
+             print >> sys.stderr, "*** round", round, "***"
+ 
+         start = datetime.datetime.now()
          hambone = mboxutils.getmbox(hambox)
          spamcan = mboxutils.getmbox(spambox)
***************
*** 109,119 ****
              hambone = reversed(list(hambone))
              spamcan = reversed(list(spamcan))
-         round += 1
- 
-         if verbose:
-             print >> sys.stderr, "*** round", round, "***"
  
          hmisses = smisses = nmsgs = 0
-         start = datetime.datetime.now()
          try:
              while not maxmsgs or nmsgs < maxmsgs:
--- 114,119 ----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.