Update of /cvsroot/spambayes/spambayes/spambayes
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10875

Modified Files:
        Stats.py 
Log Message:
A couple of recent changes to the definition of the MessageInfoBase class
apparently didn't get propagated to the usages in the Stats class.


Index: Stats.py
===================================================================
RCS file: /cvsroot/spambayes/spambayes/spambayes/Stats.py,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** Stats.py    22 Nov 2004 23:34:43 -0000      1.9
--- Stats.py    21 Dec 2004 16:21:59 -0000      1.10
***************
*** 44,47 ****
--- 44,49 ----
  class Stats(object):
      class __empty_msg:
+         def __init__(self):
+             self.getDBKey = self.getId
          def getId(self):
              return self.id
***************
*** 70,74 ****
              m = self.__empty_msg()
              m.id = msg
!             msginfoDB._getState(m)
              if m.c == 's':
                  # Classified as spam.
--- 72,76 ----
              m = self.__empty_msg()
              m.id = msg
!             msginfoDB.load_msg(m)
              if m.c == 's':
                  # Classified as spam.

_______________________________________________
Spambayes-checkins mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/spambayes-checkins

Reply via email to