[Spambayes-checkins] spambayes/spambayes ProxyUI.py,1.37,1.38
Tony Meyer
anadelonbrin at users.sourceforge.net
Wed Jan 7 01:04:46 EST 2004
Update of /cvsroot/spambayes/spambayes/spambayes
In directory sc8-pr-cvs1:/tmp/cvs-serv5637/spambayes
Modified Files:
ProxyUI.py
Log Message:
When making the changes that allow messages on a review page to be
sorted by column, I introduced a bug that could cause problems in
separating the messages by day (which is done before the other sort).
Problem found and patch provided by Brendon Whateley, thanks.
Fixes [ 872044 ] HTTP review page date problems
Index: ProxyUI.py
===================================================================
RCS file: /cvsroot/spambayes/spambayes/spambayes/ProxyUI.py,v
retrieving revision 1.37
retrieving revision 1.38
diff -C2 -d -r1.37 -r1.38
*** ProxyUI.py 5 Jan 2004 17:44:33 -0000 1.37
--- ProxyUI.py 7 Jan 2004 06:04:44 -0000 1.38
***************
*** 225,228 ****
--- 225,232 ----
# Fetch all the message keys
allKeys = state.unknownCorpus.keys()
+ # We have to sort here to split into days.
+ # Later on, we also sort the messages that will be on the page
+ # (by whatever column we wish).
+ allKeys.sort()
# The default start timestamp is derived from the most recent message,
More information about the Spambayes-checkins
mailing list