[Spambayes-checkins] spambayes/scripts sb_server.py,1.10,1.11

Tony Meyer anadelonbrin at users.sourceforge.net
Mon Oct 6 20:36:32 EDT 2003


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

Modified Files:
	sb_server.py 
Log Message:
Fix [ spambayes-Bugs-818871 ] sb_server.py calls undefined variable

Index: sb_server.py
===================================================================
RCS file: /cvsroot/spambayes/spambayes/scripts/sb_server.py,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** sb_server.py	29 Sep 2003 04:43:09 -0000	1.10
--- sb_server.py	7 Oct 2003 00:36:30 -0000	1.11
***************
*** 713,720 ****
                  small = "ham"
              if big is not None:                
!                 self.warning = "%s\nWarning: you have much more %s than %s - " \
                                 "SpamBayes works best with approximately even " \
!                                "numbers of ham and spam." % (db_status, big,
!                                                              small)
              else:
                  self.warning = ""
--- 713,719 ----
                  small = "ham"
              if big is not None:                
!                 self.warning = "Warning: you have much more %s than %s - " \
                                 "SpamBayes works best with approximately even " \
!                                "numbers of ham and spam." % (big, small)
              else:
                  self.warning = ""





More information about the Spambayes-checkins mailing list