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

Contents of /rpms/mailman/contribs9/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)
Sun Aug 23 19:54:39 2015 UTC (8 years, 8 months ago) by stephdl
Branch: MAIN
CVS Tags: mailman-2_1_12-103_el6_sme, mailman-2_1_12-100_el6_sme, mailman-2_1_12-104_el6_sme, mailman-2_1_12-25_el6_sme_sme, mailman-2_1_12-102_el6_sme, mailman-2_1_12-101_el6_sme, HEAD
added all files to cvs

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