------------------------------------------------------------
revno: 1183
committer: Mark Sapiro <[email protected]>
branch nick: 2.1
timestamp: Fri 2009-07-31 17:40:36 -0700
message:
Another Python 2.6 compatibility change.
modified:
Mailman/ListAdmin.py
--
lp:mailman/2.1
https://code.launchpad.net/~mailman-coders/mailman/2.1
Your team Mailman Checkins is subscribed to branch lp:mailman/2.1.
To unsubscribe from this branch go to
https://code.launchpad.net/~mailman-coders/mailman/2.1/+edit-subscription.
=== modified file 'Mailman/ListAdmin.py'
--- Mailman/ListAdmin.py 2008-09-21 18:59:44 +0000
+++ Mailman/ListAdmin.py 2009-08-01 00:40:36 +0000
@@ -1,4 +1,4 @@
-# Copyright (C) 1998-2008 by the Free Software Foundation, Inc.
+# Copyright (C) 1998-2009 by the Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
@@ -202,7 +202,7 @@
cPickle.dump(msg, fp, 1)
else:
g = Generator(fp)
- g(msg, 1)
+ g.flatten(msg, 1)
fp.flush()
os.fsync(fp.fileno())
finally:
@@ -251,7 +251,7 @@
outfp = open(outpath, 'w')
try:
g = Generator(outfp)
- g(msg, 1)
+ g.flatten(msg, 1)
finally:
outfp.close()
# Now handle updates to the database
_______________________________________________
Mailman-checkins mailing list
[email protected]
Unsubscribe:
http://mail.python.org/mailman/options/mailman-checkins/archive%40jab.org