summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorklm1998-07-20 14:48:36 +0000
committerklm1998-07-20 14:48:36 +0000
commit335e12491cf39f33dfca4d61ecbcc12467128848 (patch)
tree56cb77bbcb69e6a4b2a2918b274193470eeb26c9
parentf767dbed25380505bc410c86a62852ace4c371b9 (diff)
downloadmailman-335e12491cf39f33dfca4d61ecbcc12467128848.tar.gz
mailman-335e12491cf39f33dfca4d61ecbcc12467128848.tar.zst
mailman-335e12491cf39f33dfca4d61ecbcc12467128848.zip
PrintRequests(): call to list.RequestsPending() becomes
list.NumRequestsPending() (missed this one when i made the change).
-rw-r--r--Mailman/Cgi/admindb.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mailman/Cgi/admindb.py b/Mailman/Cgi/admindb.py
index 86394f544..662341d27 100644
--- a/Mailman/Cgi/admindb.py
+++ b/Mailman/Cgi/admindb.py
@@ -210,7 +210,7 @@ def PrintRequests(doc):
list.GetRelativeScriptURL('admin'), htmlformat.Italic(
'View or edit the list configuration information'))))
doc.AddItem('<p><hr>')
- if not list.RequestsPending():
+ if not list.NumRequestsPending():
doc.AddItem(htmlformat.Header(3,'There are no pending requests.'))
doc.AddItem(list.GetMailmanFooter())
return