[Spambayes-checkins] spambayes/Outlook2000 manager.py,1.71,1.72

Mark Hammond mhammond at users.sourceforge.net
Tue Aug 19 07:30:58 EDT 2003


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

Modified Files:
	manager.py 
Log Message:
Make the logging of the database saving consistent.  Currently, at the
default debug level, we log when the database is not saved, but not
when it is!


Index: manager.py
===================================================================
RCS file: /cvsroot/spambayes/spambayes/Outlook2000/manager.py,v
retrieving revision 1.71
retrieving revision 1.72
diff -C2 -d -r1.71 -r1.72
*** manager.py	10 Aug 2003 07:49:12 -0000	1.71
--- manager.py	19 Aug 2003 13:30:55 -0000	1.72
***************
*** 605,609 ****
                  self.SaveBayes()
              else:
!                 print "Bayes database is not dirty - not writing"
          else:
              print "Using a slow database - not saving after incremental train"
--- 605,609 ----
                  self.SaveBayes()
              else:
!                 self.LogDebug(1, "Bayes database is not dirty - not writing")
          else:
              print "Using a slow database - not saving after incremental train"





More information about the Spambayes-checkins mailing list