------------------------------------------------------------
revno: 1042
committer: Mark Sapiro <[EMAIL PROTECTED]>
branch nick: 2.1
timestamp: Sun 2008-02-03 11:27:07 -0800
message:
HTMLFormatter.py - list_hidden didn't work for digest members. Fixed.
modified:
Mailman/HTMLFormatter.py
=== modified file 'Mailman/HTMLFormatter.py'
--- a/Mailman/HTMLFormatter.py 2007-05-08 03:16:04 +0000
+++ b/Mailman/HTMLFormatter.py 2008-02-03 19:27:07 +0000
@@ -1,4 +1,4 @@
-# Copyright (C) 1998-2007 by the Free Software Foundation, Inc.
+# Copyright (C) 1998-2008 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
@@ -66,17 +66,13 @@
conceal_sub = mm_cfg.ConcealSubscription
people = []
if digest:
- digestmembers = self.getDigestMemberKeys()
- for dm in digestmembers:
- if not self.getMemberOption(dm, conceal_sub):
- people.append(dm)
- num_concealed = len(digestmembers) - len(people)
+ members = self.getDigestMemberKeys()
else:
members = self.getRegularMemberKeys()
- for m in members:
- if list_hidden or not self.getMemberOption(m, conceal_sub):
- people.append(m)
- num_concealed = len(members) - len(people)
+ for m in members:
+ if list_hidden or not self.getMemberOption(m, conceal_sub):
+ people.append(m)
+ num_concealed = len(members) - len(people)
if num_concealed == 1:
concealed = _('<em>(1 private member not shown)</em>')
elif num_concealed > 1:
--
Stable, maintained release series
https://code.launchpad.net/~mailman-coders/mailman/2.1
You are receiving this branch notification because you are subscribed to it.
_______________________________________________
Mailman-checkins mailing list
[email protected]
Unsubscribe:
http://mail.python.org/mailman/options/mailman-checkins/archive%40jab.org