/[smecontribs]/rpms/mailman/contribs10/mailman-2.1.12-listadmin-flatten.patch
ViewVC logotype

Contents of /rpms/mailman/contribs10/mailman-2.1.12-listadmin-flatten.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Mon Feb 22 15:33:50 2021 UTC (3 years, 2 months ago) by brianr
Branch: MAIN
CVS Tags: HEAD
Initial import

1 diff --git a/Mailman/ListAdmin.py b/Mailman/ListAdmin.py
2 index ec1307a..321d9f6 100644
3 --- a/Mailman/ListAdmin.py
4 +++ b/Mailman/ListAdmin.py
5 @@ -202,7 +202,7 @@ class ListAdmin:
6 cPickle.dump(msg, fp, 1)
7 else:
8 g = Generator(fp)
9 - g(msg, 1)
10 + g.flatten(msg, 1)
11 fp.flush()
12 os.fsync(fp.fileno())
13 finally:
14 @@ -251,7 +251,7 @@ class ListAdmin:
15 outfp = open(outpath, 'w')
16 try:
17 g = Generator(outfp)
18 - g(msg, 1)
19 + g.flatten(msg, 1)
20 finally:
21 outfp.close()
22 # Now handle updates to the database

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed