CVS: tmda-cgi PendList.py,1.22,1.23
Gre7g Luterman <[email protected]>
| Newsgroups | gmane.mail.spam.tmda.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/tmda/tmda-cgi
In directory sc8-pr-cvs1:/tmp/cvs-serv17821
Modified Files:
PendList.py
Log Message:
Caught a glitch if there are no messages pending.
Index: PendList.py
===================================================================
RCS file: /cvsroot/tmda/tmda-cgi/PendList.py,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- PendList.py 12 Jun 2003 18:13:19 -0000 1.22
+++ PendList.py 9 Jul 2003 03:33:33 -0000 1.23
@@ -48,10 +48,10 @@
# Batch operation
if Form["subcmd"].value == "batch":
ReleaseList = []
- WhiteList = []
- BlackList = []
- DeleteList = []
- OtherList = []
+ WhiteList = []
+ BlackList = []
+ DeleteList = []
+ OtherList = []
OtherAction = "Pass"
for Count in range(int(PVars[("PendingList", "PagerSize")])):
# Check for radioboxes (a0 through a%(PagerSize)d)
@@ -188,6 +188,7 @@
# Load the display template
T = Template.Template("pending.html")
T["CharSet"] = "utf-8"
+ T["MsgID"] = ""
# Find the message numbers we'll display
FirstMsg = PVars["Pager"]
_______________________________________
tmda-cvs mailing list
http://tmda.net/lists/listinfo/tmda-cvs