diff options
| author | cotton | 1998-11-21 20:06:47 +0000 |
|---|---|---|
| committer | cotton | 1998-11-21 20:06:47 +0000 |
| commit | c39c4f7270a57bcaddbd1b22d8dac2863f0d0af2 (patch) | |
| tree | afdf47f6c9c0db900eaa8f3207dfd4a0aeea18a5 /Mailman/HTMLFormatter.py | |
| parent | c56a6d08e21e818f45343328d86dcf66188acd12 (diff) | |
| download | mailman-c39c4f7270a57bcaddbd1b22d8dac2863f0d0af2.tar.gz mailman-c39c4f7270a57bcaddbd1b22d8dac2863f0d0af2.tar.zst mailman-c39c4f7270a57bcaddbd1b22d8dac2863f0d0af2.zip | |
These changes represent the changes that make mailman's addressing
work like unix mail: username portions of addresses are
case-preserved for delivery only. All other address comparisons are
lowercase.
up'd data version in Defaults to 13
** MailList.py: added an __AddMember method that takes an address and
whether or not it is a digest address as args and populates the member
dictionary like this:
if string.lower(addr) == LCDomain(addr):
member_dict[addr] = 0
else:
member_dictp[string.lower(addr)] == LCDomain(addr)
added .GetDeliveryMembers() and .GetDigestDeliveryMembers() methods
for use by posting and digest delivery mechanisms.
changed a nested def portion in Post to use an explicit loop.
**Digester.py: uses .GetDigestDeliveryMembers instead of
.GetDigestMembers().
**Utils.py: address comparisons are lc.
**versions.py: populate the member dicts according to the above
formula.
**Cgi/admin.py: fixed a bug introduced from the first change to using
member dictionaries: all members were showing up as digest members
on the admin membership page. changed a dict.get to dict.has_key to
fix this.
NOTE: this code is tested only insofar as I posted and poked around on
the cgi's a bit, and let lists do the versions code. These changes
should be tested more, but I *have* to go now and wanted to check them
in before someone made it difficult to do so by changing stuff
tomarrow, cause i'm gone all day tomarrow.
scott
Diffstat (limited to 'Mailman/HTMLFormatter.py')
0 files changed, 0 insertions, 0 deletions
