[Spambayes-checkins] spambayes classifier.py,1.53.2.11,1.53.2.12

Neale Pickett npickett@users.sourceforge.net
Sun Nov 24 09:32:07 2002


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

Modified Files:
      Tag: hammie-playground
	classifier.py 
Log Message:
* Removed remaining vestiges of WordInfo computing its own spamprob


Index: classifier.py
===================================================================
RCS file: /cvsroot/spambayes/spambayes/classifier.py,v
retrieving revision 1.53.2.11
retrieving revision 1.53.2.12
diff -C2 -d -r1.53.2.11 -r1.53.2.12
*** classifier.py	24 Nov 2002 09:31:06 -0000	1.53.2.11
--- classifier.py	24 Nov 2002 09:32:05 -0000	1.53.2.12
***************
*** 102,107 ****
      def __repr__(self):
          return "WordInfo%r" % repr((self.spamcount,
!                                     self.hamcount,
!                                     self.spamprob))
  
      def __getstate__(self):
--- 102,106 ----
      def __repr__(self):
          return "WordInfo%r" % repr((self.spamcount,
!                                     self.hamcount))
  
      def __getstate__(self):
***************
*** 111,116 ****
      def __setstate__(self, t):
          (self.spamcount, self.hamcount) = t
-         self.spamprob = None
-         self.revision = None
  
  
--- 110,113 ----





More information about the Spambayes-checkins mailing list