[Spambayes-checkins] spambayes FileCorpus.py,1.1,1.2

Tim Stone timstone4@users.sourceforge.net
Sat Nov 16 19:06:29 2002


Update of /cvsroot/spambayes/spambayes
In directory usw-pr-cvs1:/tmp/cvs-serv9030

Modified Files:
	FileCorpus.py 
Log Message:
Removed prototype message filtering code

Index: FileCorpus.py
===================================================================
RCS file: /cvsroot/spambayes/spambayes/FileCorpus.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** FileCorpus.py	16 Nov 2002 16:30:20 -0000	1.1
--- FileCorpus.py	16 Nov 2002 19:06:27 -0000	1.2
***************
*** 402,417 ****
  
  
!     print '\n\nIterate the unsure corpus, to make sure cache size \
! is managed correctly.  We should not see MSG00003 in this iteration.'
!     for msg in unsurecorpus:
!         print msg.key()    # don't print msg, too much information
      for msg in unsurecorpus:
          print msg.key()    # don't print msg, too much information
! 
! 
!     print '\n\nIterate the unsure corpus with a filter, to make sure \
! the filtering mechanism is working correctly.  We should not see \
! MSG00004 in this iteration.'
! #    unsurecorpus.setFilter('richie')
      for msg in unsurecorpus:
          print msg.key()    # don't print msg, too much information
--- 402,411 ----
  
  
!     print '\n\nIterate the unsure corpus twice, to make sure cache size \
! is managed correctly, and to make sure iteration is repeatable. \
! We should not see MSG00003 in this iteration.'
      for msg in unsurecorpus:
          print msg.key()    # don't print msg, too much information
!     print '...and again'
      for msg in unsurecorpus:
          print msg.key()    # don't print msg, too much information





More information about the Spambayes-checkins mailing list