diff options
author | Mark Sapiro <mark@msapiro.net> | 2009-07-31 17:40:36 -0700 |
---|---|---|
committer | Mark Sapiro <mark@msapiro.net> | 2009-07-31 17:40:36 -0700 |
commit | afd08ebf0792631eab9bd8dc0f5b443c1024ded3 (patch) | |
tree | 0afc5c56d59a48b11695332f416e69292296e72a | |
parent | f2396437f76d97fefedb55179390851c4fd05592 (diff) | |
download | mailman2-afd08ebf0792631eab9bd8dc0f5b443c1024ded3.tar.gz mailman2-afd08ebf0792631eab9bd8dc0f5b443c1024ded3.tar.xz mailman2-afd08ebf0792631eab9bd8dc0f5b443c1024ded3.zip |
Another Python 2.6 compatibility change.
-rw-r--r-- | Mailman/ListAdmin.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Mailman/ListAdmin.py b/Mailman/ListAdmin.py index ec1307ac..d91ab618 100644 --- a/Mailman/ListAdmin.py +++ b/Mailman/ListAdmin.py @@ -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 @@ class ListAdmin: 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 @@ class ListAdmin: outfp = open(outpath, 'w') try: g = Generator(outfp) - g(msg, 1) + g.flatten(msg, 1) finally: outfp.close() # Now handle updates to the database |