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 |