diff options
| author | bwarsaw | 2002-03-14 04:54:54 +0000 |
|---|---|---|
| committer | bwarsaw | 2002-03-14 04:54:54 +0000 |
| commit | f21360fccca495515fe9e4f507dafdbb4a6e3488 (patch) | |
| tree | 4b3efa2935fe3804782d514d77fabe817043c3c5 /Mailman/Cgi | |
| parent | bc02655d4aa330983879ac1d05d9ee643fe3447a (diff) | |
| download | mailman-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
