aboutsummaryrefslogtreecommitdiffstats
path: root/cron
diff options
context:
space:
mode:
Diffstat (limited to 'cron')
-rwxr-xr-xcron/checkdbs12
1 files changed, 10 insertions, 2 deletions
diff --git a/cron/checkdbs b/cron/checkdbs
index 12698109..e776f15d 100755
--- a/cron/checkdbs
+++ b/cron/checkdbs
@@ -1,6 +1,6 @@
#! @PYTHON@
#
-# Copyright (C) 1998-2003 by the Free Software Foundation, Inc.
+# Copyright (C) 1998-2011 by the Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
@@ -14,7 +14,8 @@
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
+# USA.
"""Check for pending admin requests and mail the list owners if necessary.
@@ -149,6 +150,13 @@ def pending_requests(mlist):
fullname = ' (%s)' % fullname
pending.append(' %s%s %s' % (addr, fullname, time.ctime(when)))
first = 1
+ for id in mlist.GetUnsubscriptionIds():
+ if first:
+ pending.append(_('Pending unsubscriptions:'))
+ first = 0
+ addr = mlist.GetRecord(id)
+ pending.append(' %s' % addr)
+ first = 1
for id in mlist.GetHeldMessageIds():
if first:
pending.append(_('\nPending posts:'))