summaryrefslogtreecommitdiff
path: root/Mailman/pythonlib/StringIO.py
diff options
context:
space:
mode:
authorbwarsaw1999-11-15 22:28:20 +0000
committerbwarsaw1999-11-15 22:28:20 +0000
commitaf1fd3ec170fe88a3989e311b6a1288555faaeb3 (patch)
tree84b6d226d911c4e2772f42d2af8df5e6b7b36203 /Mailman/pythonlib/StringIO.py
parent7de69d8754229dadeb3d4c9a126a8550b0501308 (diff)
downloadmailman-af1fd3ec170fe88a3989e311b6a1288555faaeb3.tar.gz
mailman-af1fd3ec170fe88a3989e311b6a1288555faaeb3.tar.zst
mailman-af1fd3ec170fe88a3989e311b6a1288555faaeb3.zip
Held posts are now stored in a separate file in the file system,
instead of marshalled into the requests.db file. The file name will always be $PREFIX/data/heldmsg-<listname>-<id> where <id> is the request id integer value. HoldMessage(): Store the message text in the heldmsg file as described above. In the requests.db marshal, we just include the filename in the last slot. Although this is redundant information, it makes calculating the file name a little easier (hmm, maybe we should remove this anyway). __handlepost(): Watch out for the message file being removed, and raise a LostHeldMessage in that situation. In any case, once the message is dispatched, be sure to unlink the message file (transforming expected exceptions into LostHeldMessage).
Diffstat (limited to 'Mailman/pythonlib/StringIO.py')
0 files changed, 0 insertions, 0 deletions