typo in CalcRecips.py: sender

Bug #265547 reported by Dmick
2
Affects Status Importance Assigned to Milestone
GNU Mailman
Invalid
Medium
Unassigned

Bug Description

CalcRecips.py calls getMemberCPAddress with
an unadorned string (i.e. variable reference)
sender; it should be using a string literal
'sender' instead:

$ cvs diff
cvs server: Diffing .
Index: CalcRecips.py
===================================================================
RCS file:
/cvsroot/mailman/mailman/Mailman/Handlers/CalcRecips.py,v
retrieving revision 2.7
diff -r2.7 CalcRecips.py
94c94
<
recips.remove(mlist.getMemberCPAddress(sender))
---
>
recips.remove(mlist.getMemberCPAddress('sender'))

[http://sourceforge.net/tracker/index.php?func=detail&aid=464552&group_id=103&atid=100103]

Revision history for this message
Dmick (dmick) wrote :

Not sure what I was thinking, but this would
appear not to be a correct diagnosis. I'll undo
my change and see what breaks.

Revision history for this message
Dmick (dmick) wrote :

Nah, this wasn't a bug; I was high.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.