summaryrefslogtreecommitdiff
path: root/Mailman/pythonlib/cgi.py
diff options
context:
space:
mode:
authorbwarsaw2001-10-01 16:22:46 +0000
committerbwarsaw2001-10-01 16:22:46 +0000
commitbf085df4303c04c3c6e04d0192ad0fff5f9fb230 (patch)
tree7b634e1f07d3bfb23bef01b29df1758367a39c3e /Mailman/pythonlib/cgi.py
parentda7911a17a85385177628b7c5b2f0357882857cb (diff)
downloadmailman-bf085df4303c04c3c6e04d0192ad0fff5f9fb230.tar.gz
mailman-bf085df4303c04c3c6e04d0192ad0fff5f9fb230.tar.zst
mailman-bf085df4303c04c3c6e04d0192ad0fff5f9fb230.zip
Convert from mimelib to email.
Also, use cStringIO directly instead of our own hack-around StringIO module. InitTempVars(): Don't set __filename here, since InitTempVars() is never called when the list is Create()'d (which may itself be a buglet). __filename(), __opendb(), __closedb(): New method to return the request.db absolute path on the fly. Use this in __opendb() and __closedb(). HoldMessage(): Store the message as a pickle instead of generating the plain text representation. This should be faster than reparsing on input. readMessage(): New function that will read either pickle or plain text held messages, depending on the file extension. This helps with backwards compatibility.
Diffstat (limited to 'Mailman/pythonlib/cgi.py')
0 files changed, 0 insertions, 0 deletions