diff options
| author | bwarsaw | 2001-07-06 05:35:39 +0000 |
|---|---|---|
| committer | bwarsaw | 2001-07-06 05:35:39 +0000 |
| commit | f7c58d6098c9a548339633360d92dc563d993ec2 (patch) | |
| tree | 339dca1642132d9097c1954f93950a4143d6c1bd /Mailman/Cgi/admin.py | |
| parent | 984b30495341b5510db35b15a61df73229c8605f (diff) | |
| download | mailman-f7c58d6098c9a548339633360d92dc563d993ec2.tar.gz mailman-f7c58d6098c9a548339633360d92dc563d993ec2.tar.zst mailman-f7c58d6098c9a548339633360d92dc563d993ec2.zip | |
LogMsg() -> write()
write(): Just call new function write_ex(), passing arguments through.
write_ex(): Use explicit arguments to pass in the args tuple and kws
dictionary. This is because Python requires **kws in extended calls
to be concrete dictionary objects, not generic mapping objects.
SMTPDirect wants to pass in an instance of (subclassed) UserDict, so
it calls write_ex() directly.
Also, stash the msg argument in local variable origmsg, which is used
if we get an exception during string interpolation.
Diffstat (limited to 'Mailman/Cgi/admin.py')
0 files changed, 0 insertions, 0 deletions
