[Spambayes-checkins] spambayes Bayes.py,1.5.2.2,1.5.2.3

Tim Stone timstone4@users.sourceforge.net
Thu Nov 21 02:58:39 2002


Update of /cvsroot/spambayes/spambayes
In directory sc8-pr-cvs1:/tmp/cvs-serv5621

Modified Files:
      Tag: hammie-playground
	Bayes.py 
Log Message:
Removed LSDBDict class

Index: Bayes.py
===================================================================
RCS file: /cvsroot/spambayes/spambayes/Bayes.py,v
retrieving revision 1.5.2.2
retrieving revision 1.5.2.3
diff -C2 -d -r1.5.2.2 -r1.5.2.3
*** Bayes.py	20 Nov 2002 04:29:55 -0000	1.5.2.2
--- Bayes.py	21 Nov 2002 02:58:37 -0000	1.5.2.3
***************
*** 165,169 ****
  
  
! class WIDict(dbdict.LSDBDict):
      """LSDBDict optimized for holding lots of WordInfo objects.
  
--- 165,169 ----
  
  
! class WIDict(dbdict.DBDict):
      """LSDBDict optimized for holding lots of WordInfo objects.
  
***************
*** 242,246 ****
  
          self.wordinfo[self.statekey] = (self.nham, self.nspam)
!         self.wordinfo.store()
  
  
--- 242,246 ----
  
          self.wordinfo[self.statekey] = (self.nham, self.nspam)
!         self.wordinfo.sync()
  
  





More information about the Spambayes-checkins mailing list