[Spambayes-checkins] spambayes/spambayes ImapUI.py,1.21,1.22

Tony Meyer anadelonbrin at users.sourceforge.net
Mon Sep 29 00:43:11 EDT 2003


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

Modified Files:
	ImapUI.py 
Log Message:
Add space for a warning message to the status box on the home page
of the web interface.

Add the same warnings that the Outlook plug-in uses to it - i.e. warn
if the user has unbalanced ham and spam, or not much ham and
spam, or zero ham and spam.

Index: ImapUI.py
===================================================================
RCS file: /cvsroot/spambayes/spambayes/spambayes/ImapUI.py,v
retrieving revision 1.21
retrieving revision 1.22
diff -C2 -d -r1.21 -r1.22
*** ImapUI.py	28 Sep 2003 23:55:26 -0000	1.21
--- ImapUI.py	29 Sep 2003 04:43:09 -0000	1.22
***************
*** 127,130 ****
--- 127,131 ----
          """Serve up the homepage."""
          stateDict = self.classifier.__dict__.copy()
+         stateDict["warning"] = ""
          stateDict.update(self.classifier.__dict__)
          statusTable = self.html.statusTable.clone()





More information about the Spambayes-checkins mailing list