summaryrefslogtreecommitdiff
path: root/Mailman/Cgi
diff options
context:
space:
mode:
authorbwarsaw2002-03-14 04:54:54 +0000
committerbwarsaw2002-03-14 04:54:54 +0000
commitf21360fccca495515fe9e4f507dafdbb4a6e3488 (patch)
tree4b3efa2935fe3804782d514d77fabe817043c3c5 /Mailman/Cgi
parentbc02655d4aa330983879ac1d05d9ee643fe3447a (diff)
downloadmailman-f21360fccca495515fe9e4f507dafdbb4a6e3488.tar.gz
mailman-f21360fccca495515fe9e4f507dafdbb4a6e3488.tar.zst
mailman-f21360fccca495515fe9e4f507dafdbb4a6e3488.zip
_load(), _save(): Now that we're saving instances in the pending
database, we need to use pickle instead of marshal. Pickle's more reliable and portable anyway. We can do auto-upgrade from marshal to pickle. If the .pck file isn't found, we'll read the .db file. But we always write the .pck file and if that's successful we can delete the .db file. We also do the standard "write a .tmp file and rotate with os.rename()" dance.
Diffstat (limited to 'Mailman/Cgi')
0 files changed, 0 insertions, 0 deletions